Commit Graph

18 Commits

Author SHA1 Message Date
Pierre-Marie de Rodat
de58c96d16 Testsuite: factorize common lexers in the concrete syntax
TN: RA22-015
2020-03-16 10:41:18 +01:00
Pierre-Marie de Rodat
05ca4fbcb1 Slightly change lexer annotation syntax
Since @text, @trivia and @symbol take arguments, enforce parens for
them.

TN: RA22-015
2020-03-16 10:41:18 +01:00
Romain Beguet
0612dde534 RA22-015: Make WithText the default token action. 2020-03-05 17:01:26 +01:00
Romain Beguet
7287f3f275 RA22-015: Fix syntax of token families. 2020-03-05 17:01:26 +01:00
Pierre-Marie de Rodat
383670d486 Extend support for LKT grammars, transition tests
TN: RA22-015
2020-02-27 13:43:20 +01:00
Romain Beguet
9467a5a42c RA22-015: Add lexer parser and unparser to concrete syntax. 2020-02-27 11:41:20 +01:00
Pierre-Marie de Rodat
fed6874e3b dsl_unparse: change the naming convention for grammars
TN: RA22-015
2020-02-26 12:09:38 +01:00
Pierre-Marie de Rodat
e586a93d9a dsl_unparse: unparse main grammar rules
TN: RA22-015
2020-02-26 12:09:38 +01:00
Pierre-Marie de Rodat
3237629d7d dsl_unparse: fix grammar name computation
Also use "Foo" as the short name for example libraries in testcases.

TN: RA22-015
2020-02-26 12:09:38 +01:00
Raphaël AMIARD
4e7b5f5890 RA22-015: Work on the parser and typer 2020-02-25 11:40:10 +01:00
Raphaël AMIARD
b85e638a68 RA22-015: Emit @abstract qualifiers for fields and classes 2020-02-25 11:40:10 +01:00
Raphaël AMIARD
491b238315 RA22-015: Properly unparse string literal tokens in grammars 2020-02-25 11:40:10 +01:00
Raphaël AMIARD
375b5d2a8e RA22-015: switch to braces
We want to have a block based functional language and braces are a
common choice for that.
2020-01-14 16:58:05 +01:00
Raphaël AMIARD
b809553bb8 RA22-015: improve blank lines generation 2020-01-14 16:58:05 +01:00
Raphaël AMIARD
fd75a5a6c6 RA22-015: Don't unparse generic list types 2020-01-14 16:58:05 +01:00
Raphaël AMIARD
ab381dca1e RA22-015: test CS unparsing results 2020-01-09 16:23:29 +01:00
Pierre-Marie de Rodat
850f0e92f4 Fix coding style issues in testcases
TN: SC05-019
2019-12-18 17:11:51 +01:00
Pierre-Marie de Rodat
6119d49b15 Python API: accept unicode source buffers in get_from_buffer/reparse
TN: SC05-019
2019-12-18 15:28:19 +01:00