Skip to content

Syntactic sugar

Katherine Ye edited this page Jan 29, 2019 · 1 revision

Written by Dor

  1. 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

  2. I use the lexer in order to tokenize the sugared Substance program, the lexer, and the

Clone this wiki locally