Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 406 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 406 Bytes

YASPL2-compiler

implementation of the frontend part of a compiler (lexical analysis, syntactic analysis, semantic anal analys is and translation)

Requirements: java-cup-11b.jar, emsdk.

There are 3 example YASPL2 source file (ex1,ex2,ex3) [the last one contain compilation error]

The file 'specification.flex' cointain the Lexical specification of YASPL2 language for generating Lexer.java by javacup.