Syntactic sugar
Katherine Ye edited this page Jan 29, 2019
·
1 revision
-
I created a lexer using Alex, which gets as an input a sugared Substance program and creates a list of tokens of the Substance program. The lexer is defines in
SubstanceSugared.x
and in order to generate the .hs file run:alex SubstanceTokenizer.x
-
I use the lexer in order to tokenize the sugared Substance program, the lexer, and the
Found a problem or got a suggestion? Please open a GitHub issue and tag it with documentation
!