Skip to content

Extension of the Boolean parser to include Boolean expressions, integer expressions, conditional and declaration statements as well as functional abstraction and application. The project includes lexing, parsing, generation of abstract syntax, type checking and evaluation.

Jitender-Kumar-Yadav/Type-Checking-and-Evaluation

Repository files navigation

To scan and parse a file with path "filepath": 1. Run "ml-lex Lexer.lex" on the shell/terminal. 2. Run "ml-yacc Parser.yacc" on the shell/terminal. 3. Run sml and type 'use "loader.sml";' in the sml command line. 4. Run the command 'compile "filepath"' in the sml command line. 5. The output is printed on the console.

About

Extension of the Boolean parser to include Boolean expressions, integer expressions, conditional and declaration statements as well as functional abstraction and application. The project includes lexing, parsing, generation of abstract syntax, type checking and evaluation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published