lexgen
clojurust
lexgen | clojurust | |
---|---|---|
4 | 2 | |
60 | 48 | |
- | - | |
5.9 | 2.6 | |
3 months ago | almost 3 years ago | |
Rust | Rust | |
MIT License | MIT License |
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.
lexgen
-
How are macros dealt with for incremental compilation?
Indeed this is the problem I'm having with my proc macro crates lexgen and parsegen. In the case of lexgen, the proc macro is actually quite fast for realistic inputs, but the compiler spends a lot of time checking and generated code with cargo check (which I suspect rust-analyzer also uses). In the case of parsegen the proc macro does some analyses and takes some time. In both cases I have to split my proc macro code (not the proc macros, the code that uses the proc macros) to separate crates so that they won't be recompiler/re-analyzed as I work on the code.
-
If you're not using a lexer generator for your compiler, why?
My lexer generator can handle unicode too. It's not too difficult to implement.
- A fully-featured lexer generator for Rust, implemented as a proc macro
clojurust
-
In the future, OS will be a DB, and Clojure will be the best DML
At the system layer, Clojure has a rust implementation: ClojuRust. If necessary, implementing a native compiler for a programming language is not a problem at all. In addition, the JVM has GraalVM to support native compilation.
- ClojuRust – Clojure in Rust
What are some alternatives?
logos - Create ridiculously fast Lexers
PurefunctionPipelineDataflow - My Blog: The Math-based Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with principle-based Warehouse/Workshop Model
parsegen - An LR parser generator, implemented as a proc macro
rustysd - A service manager that is able to run "traditional" systemd services, written in rust
hush - Hush is a unix shell based on the Lua programming language
delicate - A lightweight and distributed task scheduling platform written in rust. (一个轻量的分布式的任务调度平台通过rust编写)
micro-mitten - You might not need your garbage collector
erooster - A mail suite written in rust meant to be easy to use.
crafting-interpreters-rs - Crafting Interpreters in Rust
soli - Solidity REPL
wasmtime - A fast and secure runtime for WebAssembly