smackage
sml-compiler
Our great sponsors
smackage | sml-compiler | |
---|---|---|
2 | 9 | |
122 | 198 | |
1.6% | 1.0% | |
0.0 | 0.0 | |
almost 2 years ago | almost 2 years ago | |
Standard ML | Rust | |
GNU General Public License v3.0 or later | 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.
smackage
- Millet, a Language Server for SML
-
Is it worth to learn Standard ML?
The answer is that it is not worth it for practical reasons, but it can be good for didactic purposes. There was briefly an attempt to make some sort of package manager for Standard ML called Smackage; I don't really know if it's maintained or used these days, but there are only 24 packages in it at the moment. On the other hand, if you had a real passion for Standard ML (I did, for a month or two) then you could maybe push the envelope forward a bit.
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).
What are some alternatives?
smlfmt - A custom parser/auto-formatter for Standard ML
bril - an educational compiler intermediate representation
smlpkg - Generic package manager for Standard ML libraries and programs
Elm - Compiler for Elm, a functional language for reliable webapps.
LunarML - The Standard ML compiler that produces Lua/JavaScript
mulligan - A stepping debugger for Standard ML (SML)
molasses - MLB support for CM (the SML/NJ Compilation and Library Manager)
advisories