Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1016 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 1016 Bytes

MINI Scheme Interperter

This is a Mini scheme Interpreter made with Haskell (Alex as lexical analyser, Happy as parser).
[!] This is not a perfect language or interpreter. I just made this as term project of univ lecture.
[!] I'm stilling working on this project. So, this might be a not final version.

Build and Run

# first you need to download haskell compiler(ghc)  - https://www.haskell.org/ghc/ 
# build 
make 
# run 
Main.exe
#try example code under /Example Folder

Note

  • AST.hs : AST component data type, Symbol table data type
  • Enviroment.hs : Eval & Apply working part
  • main.hs : REPL
  • Tokens.x : scanner, input file of Alex
  • Grammar.y : parser, input file of Happy

Reference