owo-lang / OwO

Placeholder for the OwO compiler
Apache License 2.0
59 stars 1 forks source link

Basic lexer by Alex #11

Closed ice1000 closed 5 years ago

ice1000 commented 5 years ago
ice1000 commented 5 years ago

https://www.haskell.org/alex/doc/html/syntax.html

anqurvanillapy commented 5 years ago

I will keep pace with the design by modifying the misc/Grammar file in a Backus-Naur-like form. First off only the declaration of tokens will be considered.

ice1000 commented 5 years ago

https://github.com/simonmar/alex/blob/master/examples/tiger.x

ice1000 commented 5 years ago

utsuho-reiuji-hd-3ed4e0 utsuho-3 40309438-112b4032-5d3c-11e8-8de8-a7abdffc9a2e