Skip to content

kradical/rusty-pl0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rusty-pl0

A compiler + interpreter for the pl0 programming language in Rust.

pl0 is an educational subset of pascal.

See pl/0 syntax, grammar, and semantics

To run:

  • install rust compiler
  • install cargo
  • navigate to the root project directory
  • cargo run < test.pl0 to test a syntactically valid pl/0 program
  • cargo run < err.pl0 to test a program with errors

As seen above the program reads from stdin.

testKEY.out and errKEY.out act as expected outputs to compare to when making changes.

About

pl0 compiler+interpreter in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages