5 ms·
I've written a new (self-hosting) compiler for Miranda, with additional features from Haskell and other functional languages: https://github.com/taolson/Mirand
by taolson 2y ago
I've written a new (self-hosting) compiler for Miranda, with additional features from Haskell and other functional languages:
https://github.com/taolson/Miranda2 https://github.com/taolson/Miranda2
and have updated the examples with David Turner's original "sieve" implementation.
- felixyz 2y agoLovely!
- 082349872349872 2y agoany chance of expanding on doc/Language.md?
- taolson 2y agoYes, I plan to get to that; I'm currently working on documenting the compiler. I might put a pointer to existing documentation on Miranda there, as a placeholder in the meantime.
- taolson 2y ago[edit to add]: There are also hundreds of small example programs of using Miranda2 to solve Advent of Code puzzles, here: https://github.com/taolson/advent-of-code https://github.com/taolson/advent-of-code Advent of Code Puzzle Descriptions can be found here: https://adventofcode.com/ https://adventofcode.com/ While they don't have the puzzle-supplied data sets included, they can be used to see how various solutions are written in Miranda2.
- 082349872349872 2y agothe pointer was very useful; ta!