Skip to content

Latest commit

 

History

History
27 lines (13 loc) · 717 Bytes

README.md

File metadata and controls

27 lines (13 loc) · 717 Bytes

LambdaCalculus

A library for lambda calculus with browser client

Try it: instance

Compilation to Javascript

To compile to javascript you need to install reflex-platform

After that, from the reflex shell run

cabal configure --ghcjs

cabal build

The page assets will be found in dist/build/LambdaCalculus/LambdaCalculus.jsexe/

After first build html assets can be copied there (needed only first time)

cp index.html client.css dist/build/LambdaCalculus/LambdaCalculus.jsexe/

Now you can use it with the browser

firefox `pwd`/dist/build/LambdaCalculus/LambdaCalculus.jsexe/index.html