How to parse multiple statements in sly?
How to parse multiple statements in sly? Question: I am trying to parse some code using sly. I would like to separate the statements with a semicolon. I have defined a token called SEMI which represents a semicolon: class MyLexer(Lexer): tokens = { …, SEMI } SEMI = r";" … If I use SEMI inside …