Catalog · How the catalog works
Haskell-Pascal-Interpreter
- ★ 1 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Haskell-Pascal-Interpreter
To run the project, run "Cabal run src/test#.pas"
To-Do:
- [x] Implement visitor
- [x] Program name
- [x] Variable declarations
- [x] Main program block
- [x] Arithmetic expressions (with variables)
- [x] Boolean expressions (with variables)
- [ ] If-then-else statements
- [ ] Case statements
- [x] Special math expressions (sqrt, sin, cos, ln, exp)
- [ ] Readln
- [x] Writeln
- [x] Variable assignment
- [x] Static scoping
- [x] Global variables vs. local variables
- [x] Scope chaining and position tracking
- [ ] While loops
- [ ] For loops
- [ ] Break/continue in loops
- [x] User defined functions
- [x] User defined procedures
- [x] Formal parameter passing-in for functions and procedures (Bonus)

