Write a custom lexer
ruuda opened this issue · comments
Ruud van Asseldonk commented
A custom lexer is required to lex single-line comments that run to the end of the line; the lexer generated by Lalrpop cannot currently express this.
Bikeshed: what should the syntax for comments be? #
or //
? I am leaning towards //
, because #
is already used for colors.
Ruud van Asseldonk commented
This is done now. The main work was completed in 9f0cc88 and the commits leading up to it. A few bugfixes followed.