Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 364 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 364 Bytes

Pascal Compiler

Pascal Compiler uses top-down parsing to compile the Pascal code, and works with the lexer that breaks down the code into tokens. There are 6 token types that lexer recognizes: word, integer, real, real with an e., special characters and column-equal. After lexer gives the token to parcer, the parcer uses the Pascal grammar to parce the code.