sml-compiler
LunarML
sml-compiler | LunarML | |
---|---|---|
9 | 3 | |
198 | 240 | |
1.0% | - | |
0.0 | 8.9 | |
about 2 years ago | 23 days ago | |
Rust | Standard ML | |
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.
sml-compiler
-
Millet, a Language Server for SML
This is awesome, I will be installing and trying out later today!
I was working on a SML compiler [1] and language server in Rust as well, but I dropped the ball towards the end of 2020 as I had a PhD to finish!
SML is a great language, and I think some better tooling (like a language server) is all that it really needs to be useful.
[1] https://github.com/SomewhatML/sml-compiler
-
Hacker News top posts: Sep 9, 2021
A Compiler for Standard ML in Rust\ (31 comments)
-
A Compiler for Standard ML in Rust
It looks like this project is using typed arenas a fair bit - https://github.com/SomewhatML/sml-compiler/blob/master/crate...
I don't know the details of how this is being used in the project, but it might be worth investigating.
- A compiler for Standard ML written in Rust
- SomewhatML/sml-compiler: A compiler for Standard ML, somewhat
-
Alternative to Write you a Haskell in 2021
I went down a similar path to you - I worked my way through all of TAPL and then immediately wanted to try my hand at compiling all the way down to assembly. I started on a Standard ML compiler, but the real world has gotten in the way and I haven't finished it (trying to wrap up my PhD in a non-CS field).
LunarML
-
Implementing Basic UI in Love2d
While talking about this I discovered LunarML, which compiles StandardML to Lua and JS. I'm more familiar with OCaml than SML, but that's definitely one I'm going to keep an eye on.
- LunarML: A Standard ML compiler that produces Lua
What are some alternatives?
bril - an educational compiler intermediate representation
mlton - The MLton repository
smlfmt - A custom parser/auto-formatter for Standard ML
sml-parseq - parallel sequences library in Standard ML
mulligan - A stepping debugger for Standard ML (SML)
sml-analyzer - An experimental language server for SomewhatML
smlpkg - Generic package manager for Standard ML libraries and programs
molasses - MLB support for CM (the SML/NJ Compilation and Library Manager)
mpl - The MaPLe compiler for efficient and scalable parallel functional programming
advisories
mlkit - Standard ML Compiler and Toolkit