Skip to content

eduardostuart/rust-the-super-tiny-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The (Rust) super tiny compiler

This project is a rust version of the super tiny compiler (the original one (JS) was created by Jamie Kyle).

The output (C-like) and input (Lisp-like) syntax are the same. The Lexer and Parser created here were heavily inspired by the super-tiny-compiler.js.

Examples

cargo run --example tokens
cargo run --example ast
cargo run --example compiler

Test

cargo test

License

MIT

About

A rust version of "the super tiny compiler"

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages