Skip to content

A basic number expression language compiler (POPL + compilers course).

License

Notifications You must be signed in to change notification settings

compilerz/arithmetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

some examples in the language:

(+ 1 4)
(* (* 6 2) 1)

and language structure:

e  ::= n | (op e e)
op ::= + | - | * | /