From 478fd9ce409a62ccb130c46008303da4dd44eed6 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Mon, 2 Mar 2015 13:20:55 -0600 Subject: miniMAL: use npm published miniMAL. --- .gitignore | 1 + README.md | 8 ++++---- miniMAL/package.json | 8 ++++++++ 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 miniMAL/package.json diff --git a/.gitignore b/.gitignore index 2b05376..6c346cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ */experiments make/mal.mk +miniMAL/node_modules js/node_modules js/mal.js js/mal_web.js diff --git a/README.md b/README.md index 1885174..7f8c661 100644 --- a/README.md +++ b/README.md @@ -220,11 +220,11 @@ implemented in less than 1024 bytes of JavaScript. To run the miniMAL implementation of mal you need to download/install the miniMAL interpreter (which requires Node.js). ``` -# Download miniMAL itself -git clone https://github.com/kanaka/miniMAL ../miniMAL.git -export PATH=`pwd`/miniMAL.git:$PATH -# Now run mal implementated in miniMAL cd miniMAL +# Download miniMAL and dependencies +npm install +export PATH=`pwd`/node_modules/minimal-lisp/:$PATH +# Now run mal implementation in miniMAL miniMAL ./stepX_YYY ``` diff --git a/miniMAL/package.json b/miniMAL/package.json new file mode 100644 index 0000000..24d7a03 --- /dev/null +++ b/miniMAL/package.json @@ -0,0 +1,8 @@ +{ + "name": "mal-miniMAL", + "version": "0.0.1", + "description": "Make a Lisp (mal) language implemented in miniMAL", + "dependencies": { + "minimal-lisp": "0.0.3" + } +} -- cgit v1.2.3