I’m wanting to understand the compiler’s source. The best guide I have found so far is this one GitHub - elm-community/elm-compiler-docs: Repo where to write down documentation and guides for the elm-compiler But it is quite outdated at this point. I don’t have much experience with compilers. So if there isn’t any resources you know of that are specific to Elm’s compiler, I would appreciate general guides that could help me on my journey to understanding Elm.
I’ve hacked around the compiler a little bit, but I haven’t heard of any guides.
Have you heard of elm-in-elm? It’s an (unfinished) project writing an elm compiler in readable elm, and their documentation has some nice diagrams too.
If your goal is understanding elm (and not specifically the main compiler with all its performance constraints etc), maybe starting there would help with the big picture.
(@Janiczek awesome work there by the way!)
Thank you this seems promising to me! Especially with this quote, I’ll check it out!
learning friendly: so that folks can learn how to write a compiler in Elm (similarly to Richard Feldman’s elm-spa-example). This means
elm-in-elmis focused on readability, beauty, approachability, simplicity, great docs and great tests first, and only then completeness and speed.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.