jw-python/tools/python/jwutils
Jan Lindemann a3a8313ce8 grammar.py and friends: Make list parsing run through
First time parsing doesn't error out with a syntax error. No usable AST
is produced, strings are not returned from lexer, and AST lists aren't
lists, really.

TEXT:="Hello world!"; had to be excluded from the example, because I
don't get how this could be parsed with the given syntax. There's a
special sequence "all visible characters", but any lexer regex I could
think of will also match the types defining "alphabetic character" and
return the respective tokens (e.g. T_A) or vice-versa, depending on the
order in the lexer input file. I suppose, the only sensible way to
handle this, is to define "all visible characters" by defining the
tokens for the missing characters, and then use them along T_A ... T_Z
or their derived types.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-11-02 13:47:19 +01:00
..
algo ShuntingYard.py: Improve tokenize() quote handling 2017-08-03 10:00:29 +02:00
stree StringTree parser: Add support for comments 2017-11-02 11:47:04 +01:00
Cmd.py grammar.py et al: Centralize more code 2017-10-29 18:25:55 +01:00
grammar.py grammar.py and friends: Make list parsing run through 2017-11-02 13:47:19 +01:00
log.py grammar.py: Add support for --irrelevant-symbols 2017-10-30 10:00:25 +01:00
Makefile Rename module jwutil to jwutils 2017-07-24 13:00:37 +02:00
misc.py grammar.py: Add support for --irrelevant-symbols 2017-10-30 10:00:25 +01:00
Object.py Make jwutils.log module somewhat usable 2017-08-07 18:05:53 +02:00
RedirectStdIO.py Rename MuteStdIO to RedirectStdIO 2017-07-26 11:40:35 +02:00