Hacker News new | ask | show | jobs
by taolson 491 days 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

and have updated the examples with David Turner's original "sieve" implementation.

2 comments

any chance of expanding on doc/Language.md?
Yes, 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.
[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

Advent of Code Puzzle Descriptions can be found here:

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.

the pointer was very useful; ta!
Lovely!