An open API service indexing awesome lists of open source software.

https://github.com/eduardostuart/rust-the-super-tiny-compiler

A rust version of "the super tiny compiler"
https://github.com/eduardostuart/rust-the-super-tiny-compiler

compiler rust super-tiny-compiler

Last synced: over 1 year ago
JSON representation

A rust version of "the super tiny compiler"

Awesome Lists containing this project

README

          

# 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](https://github.com/jamiebuilds/the-super-tiny-compiler/blob/master/the-super-tiny-compiler.js)).

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

```sh
cargo run --example tokens
cargo run --example ast
cargo run --example compiler
```

## Test

```sh
cargo test
```

## License

[MIT](./LICENSE)