Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pascal-compiler

Course project for compiler construction class. Implemented part of ISO 7185:1990 Standard Pascal grammar enough to compile bubble sort on integers. Grammar was copied and modified from LALRPOP example grammars.

Technology stack: Rust, LALRPOP, LLVM.

Five commands are available:

  • lex - prints all lexemes found in file
  • parse - prints AST
  • symbols - prints symbol table
  • typecheck - performs basic typecheck
  • codegen - generates LLVM IR for input program

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages