3 ms·
In case you keep the S-expressions: http://www.ccs.neu.edu/home/shivers/papers/sre.txt http://www.ccs.neu.edu/home/shivers/papers/sre.txt https://docs.racket-
by soegaard 5y ago
In case you keep the S-expressions:
http://www.ccs.neu.edu/home/shivers/papers/sre.txt http://www.ccs.neu.edu/home/shivers/papers/sre.txt
https://docs.racket-lang.org/parser-tools/Lexers.html#%28form._%28%28lib._parser-tools%2Flex..rkt%29._lexer%29%29 https://docs.racket-lang.org/parser-tools/Lexers.html#%28for...
- dgb23 5y agoJust for clarification: I meant S-expressions for the language in the book (by changing the proposed syntax) so I can dramatically simplify the lexer. But using s-expressions for regular expression DSL is a given, since I would do it in macros. The resources you linked seem fantastic, thank you!