Kurdeks / jbcc

C compiler written in cpp
5 stars 0 forks source link

Research lexer generator tools #2

Open jkurdek opened 3 months ago

jkurdek commented 3 months ago

Do initial research on lexers generators. Initially look at https://github.com/westes/flex

jkurdek commented 3 months ago

We can use either flex or skip the lexing altogether (#3). Should we want to use flex we can use the following ruleset to generate the lexer: https://www.quut.com/c/ANSI-C-grammar-l-2011.html. I would opt for using both flex and bison.