Comment

Comment by jmacc93

This is a demonstration prototype I made of a transpiler to Javascript from a variant of Javascript extended with type conjunctions and tag types (I describe both on the page) for a form of dynamic dispatching via implicit guard clauses. It is very rough behind the scenes and is really likely to break if too much is done with it haha. But its really just to demonstrate and illustrate type conjunctions and tag types. The explanation on the page is hopefully worth more than the demonstration, anyway

I hope you all like it :)

P.S. the demonstration requires javascript but the other stuff on the page I wrote in markdown then used pandoc to turn that into html and manually spliced that into the page's index.html. It pulls CodeMirror from the web, and I think that's it iirc

parent jmacc93 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton