1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-20 08:05:15 +03:00
nickel/makam-spec
2021-01-24 11:18:00 +01:00
..
src Polymorphic enums + fixes: 2019-12-20 13:20:06 +01:00
README.md 0.7.22 -> 0.7.24 2019-12-20 11:31:45 +01:00

Using Makam

Makam is a dialect of lambda Prolog created and maintained by Antonis Stampoulis, more information here. This is an attempt to use it to define the semantics of the Nickel language.

He distributes it through NPM, and on the repo there's information on how to get it working.

Using it on Nix

We use the node2nix helper, there's a PR to add it to nixpkgs, but for now this simple config should help.

Just nix-build -A makam and then result/bin/makam ./src/init.makam -. Or run result/bin/makam src/init.makam src/examples.makam to run the examples.

To update it

Run node2nix --nodejs-12 -c makam-composition.nix on the makam-spec directory