Skip to content

harshilvagadia11/SML_Interpreter

Repository files navigation

SML_Interpreter

A SML Interpreter written in SML itself. It evaluates simple expressions involving basic boolean, integer and function expressions while performing type checking. The abstract synatx tree of the program is also printed.

Dependencies

Ensure that sml, mllex, ml-yacc and mlton are installed in the system.

Compilation

Run make.

Execution

Run ./program <file> to run the sml code written in <file>.

Examples

Refer to the tests folder to get an idea about the language supported by the interpreter.

About

A SML Interpreter written in SML itself.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published