marwood
Oga
marwood | Oga | |
---|---|---|
5 | 1 | |
100 | 1,163 | |
- | - | |
4.7 | 4.0 | |
29 days ago | 11 months ago | |
Rust | Ruby | |
Apache License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
marwood
-
You had my upvote at Lisp :P
https://github.com/strtok/marwood checkmate liberal
-
I wrote a Scheme R7 Compiler+VM in Rust called Marwood
GitHub
-
I wrote a scheme in Rust called Marwood
I have implemented a Scheme R7 compiler & virtual machine in Rust called [Marwood](https://github.com/strtok/marwood/).
-
I want to make a toy LISP
Check out this project marwood that started recently with is Scheme WASM compiler written in Rust. It's a new project so it probably will be simple to get familiar with.
-
How to write a compiler or interpreter in rust
The lexer can be found here and parser here.
Oga
-
How to write a compiler or interpreter in rust
In terms of parsing style I suggest sticking with a hand-written recursive-descent parser. Parser generators seem appealing at first, but I always ran into annoying limitations when using them (I wrote one in Ruby myself as well, and used this for this project). Parsing combinators are useful for small inputs, but I find them difficult to use for anything but simple cases.
What are some alternatives?
rust-langdev - Language development libraries for Rust
Nokogiri - Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
schism - A self-hosting Scheme to WebAssembly compiler
Ox - Ruby Optimized XML Parser
wisp - Lisp in WebAssembly
HTML::Pipeline - HTML processing filters and utilities
IchigoLisp - LISP 1.5(-ish) implementation in WebAssembly
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
lisp-rs - A LISP interpreter written in Rust.
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)
liz - Collaborative Lisp coding on Discord
Tomlrb - A Racc based TOML parser