ruuda / pris

A language for designing slides

Home Page:https://docs.ruuda.nl/pris/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Write a custom lexer

ruuda opened this issue · comments

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.

This is done now. The main work was completed in 9f0cc88 and the commits leading up to it. A few bugfixes followed.