Skip to content

Compiler for a custom source language that generates code for the object language m2r, using bison and flex.

Notifications You must be signed in to change notification settings

aliciannz/compiler-m2r-translator

Repository files navigation

m2r-translator

Compiler for a custom source language that generates code for the object language m2r, using bison and flex.

Syntactic specification of the source language

The syntax of the source language can be represented by the following grammar

Lexical specification of the source language

Code execution

$ flex plp5.l
$ bison -d plp5.y
$ g++ -o plp5 plp5.tab.c lex.yy.c

Authors

About

Compiler for a custom source language that generates code for the object language m2r, using bison and flex.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published