Skip to content

Invariant64/compilers-principles-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compilers-principles-lab

BJUT 2024 Compiler Principles Lab

Grammatical Analysis Method

  • Recursive Subroutine Method
make GRAMMAR=RS

or

make
  • LR(1) Method
make GRAMMAR=LR1

Compile

make

Run

build/main [input file]

Grammar tree visualization

Need to install graphviz Only support Recursive Subroutine Method

make image

Debug

On MacOS

make lldb ARGS="[input file]"

On Linux

make gdb ARGS="[input file]"

Clean

make clean

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published