Skip to content
/ saic Public

Toy compiler with a recursive descent parser

Notifications You must be signed in to change notification settings

saisubham/saic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

saic

Toy compiler with a recursive descent parser. Has support for:

  • expressions
  • statements
  • conditional constructs (if-else)
  • loops (for, while)
  • functions
  • closures

This is a standalone program without any external dependencies. The main function is here.

Quickstart

Getting the source

git clone https://github.com/saisubham/saic.git

Building

Requires Java 11 or higher.

Running the release version

Interactive prompt

java -jar saic

Executing a script

java -jar saic <filename>

About

Toy compiler with a recursive descent parser

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages