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 endandfront endin separate terminals.nix run .#back nix run .#front
-
Allow
direnvin 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
.hsfile, hover over a function.HLSshould start giving the type info soon.