haskell-mafia / projector

A typed, total templating language
BSD 3-Clause "New" or "Revised" License
7 stars 7 forks source link

Pux backend #262

Closed thumphries closed 6 years ago

thumphries commented 6 years ago

Hopefully this code is fairly self-contained, it should be easy to adapt to any typed language where the event is a threaded type parameter (forall ev. Html ev).

This will be slow-ish at runtime. If this is observable and unacceptable, there are plenty of remedies available. Swapping out the runtime Array for an ST-based array builder, that should pretty much do it.

All current codebases compile fairly quickly with one exception: those Int and Double types defined somewhere in manor.

! @charleso @sphvn /jury approved @charleso

charleso commented 6 years ago

💯

Legend