1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-20 16:08:14 +03:00
nickel/makam-spec
2019-10-07 13:41:06 +02:00
..
src Moved the examples to tests. 2019-10-07 13:41:06 +02:00
default.nix Just adding a basic infra to have Makam on NixOS 2019-09-11 15:34:49 +02:00
makam-composition.nix Just adding a basic infra to have Makam on NixOS 2019-09-11 15:34:49 +02:00
node-env.nix Just adding a basic infra to have Makam on NixOS 2019-09-11 15:34:49 +02:00
node-packages.nix Just adding a basic infra to have Makam on NixOS 2019-09-11 15:34:49 +02:00
package.json Just adding a basic infra to have Makam on NixOS 2019-09-11 15:34:49 +02:00
README.md Initial makam spec commit 2019-09-11 16:36:15 +02: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-10 -c makam-composition.nix on the makam-spec directory