loxcraft | rowan | |
---|---|---|
7 | 3 | |
238 | 652 | |
- | 1.2% | |
4.6 | 4.2 | |
10 days ago | 9 days ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
loxcraft
Posts with mentions or reviews of loxcraft.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-29.
-
Implementing Crafting-Interpreters in Rust - Chapter 18 - Strings
There are many solutions for these problems. For an example, see this implementation: https://github.com/ajeetdsouza/loxcraft/blob/main/src/vm/object.rs and https://github.com/ajeetdsouza/loxcraft/blob/main/src/vm/gc.rs:
- Loxcraft: A compiler, language server, and online playground for the Lox progra
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
loxcraft started off as yet another implementation of Crafting Interpreters, but I decided to take it up a notch and implement:
rowan
Posts with mentions or reviews of rowan.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-09.
-
Question: Modifying HTML in Rust
The probably most well thought out approach for handling complicated mutable trees (with parent-references) in Rust is Rowan with red/green nodes as popularized by the Roslyn project, though its particular implementation has a few rough edges (doesn't use the type system to denote whether a node is mutable or not). The core idea is to have "green nodes" that form an ordinary immutable tree to store actual data, and on-demand "red nodes" that serve as a kind of cursor and offer a richer view, for example tracking parent–child relationships as the tree is traversed.
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Make a Language by Luna Razzaghipour is a fantastic series. I especially like that she uses Rowan for building her syntax tree. While this makes your compilation step harder, you get to see how rust-analyzer does syntax trees, which I think is great.
-
Rust Sitter – write fast Tree Sitter parsers without leaving Rust!
Since you mentioned IDE tooling, I think it would be useful to have a CST representation and associated conversion from tree-sitter. [rowan](https://github.com/rust-analyzer/rowan) would be a good representation for the CST.
What are some alternatives?
When comparing loxcraft and rowan you can also consider the following projects:
chroma_code - Make beautiful colored code listings in LaTeX with the power of TreeSitter.
chumsky - Write expressive, high-performance parsers with ease.
starlark-rust - A Rust implementation of the Starlark language
job-hunt-rust - A locally run and customisable recent job aggregator with in-memory datastore, query language (JHQL), and REPL.
PyInstaller - Freeze (package) Python programs into stand-alone executables
Crafting Interpreters - Repository for the book "Crafting Interpreters"
too-many-lists - Learn Rust by writing Entirely Too Many linked lists
lalrpop - LR(1) parser generator for Rust