Re: Newbie: input file with commas like this: (, ,)



On 2009-01-27, a314658 <314658@xxxxxxxxx> wrote:
Discarding data is a very subtle business ;-) I'd be content with
translating (, ,) as (\, \,) and (. .) as (\. \.).

I.e. commas and periods are token constituent characters. Easily arranged in
the readtable.

Any tricky cases? Could the data contain instances of the dot which are in fact
consing dot notation and must be treated as such?

Is the lack of whitespace, in your examples, between the left or right
parenthesis, and the following or leading dot, significant? Does ( . . ) mean
something different from (. .) ?

Also, what is the lexical analysis to make of this?

(. .)
\ /
/ \
( v )

Hmm ....
.



Relevant Pages

  • Re: Two valves
    ... this will be for gigging longterm It looks tricky to beer-proof too. ... Assuming they're the usual double-triode types there should be no problem, ... pipex .dot. ...
    (uk.music.guitar)
  • Re: How to format textbox value before sum?
    ... Will remove any spaces, commas or periods (dot). ... jscr maths, dates, sources. ... TP/BP/Delphi/jscr/&c, FAQ items, links. ...
    (comp.lang.javascript)
  • Re: Scan frequencies for a Sony KV-20S20
    ... the EU prefers commas to delimit decimals. ... God only ... What is wrong with a dot, ...
    (sci.electronics.repair)
  • Re: Can anyone translate this nazi era German Document
    ... thought finding an anacronism would prove the document unauthentic. ... But now this is tricky. ... If the street was named Columbiadamm only in 1950, how can the prison have been Columbiahaus in 1935?! ... tommi dot nieminen at campus dot jyvaskyla dot fi ... ...
    (sci.lang)
  • Re: How to format textbox value before sum?
    ... One textbox contains for example the value "2 100". ... Maybe it's easier to say that space, dot or comma should be eliminated. ... Test it for all digits after removing spaces commas and periods. ... if it contains non-digits you tell the user they have incorrect input. ...
    (comp.lang.javascript)

Loading