Oga
marwood
Our great sponsors
Oga | marwood | |
---|---|---|
1 | 5 | |
1,162 | 100 | |
- | - | |
4.0 | 4.7 | |
10 months ago | 14 days ago | |
Ruby | Rust | |
Mozilla Public License 2.0 | Apache 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.
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.
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.
What are some alternatives?
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
rust-langdev - Language development libraries for Rust
HTML::Pipeline - HTML processing filters and utilities
wisp - Lisp 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.
IchigoLisp - LISP 1.5(-ish) implementation in WebAssembly
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)
lisp-rs - A LISP interpreter written in Rust.
Tomlrb - A Racc based TOML parser
liz - Collaborative Lisp coding on Discord