This is an experimental interpreter for a variant of 𝜑-calculus, the base language of EO. We implement it as a term rewriting system.
- The online playground is available here
-
Enter the repo.
git clone https://github.com/objectionary/try-phi cd try-phi
-
Run
back end
andfront end
in separate terminals.nix run .#back nix run .#front
-
Allow
direnv
in flake folders.direnv allow (cd front && direnv allow) (cd back && direnv allow)
-
Start a deshell.
nix develop
-
(Optionally) Start
VSCodium
.nix run .#writeSettings nix run .#codium .
-
In a
.hs
file, hover over a function.HLS
should start giving the type info soon.