diff options
| author | Joel Martin <github@martintribe.org> | 2015-03-02 13:20:55 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-03-02 13:20:55 -0600 |
| commit | 478fd9ce409a62ccb130c46008303da4dd44eed6 (patch) | |
| tree | 43fda43f24aa3e3b4f14b31167e1aa1c565cbf93 | |
| parent | 751ab516f1ecb639543ba99363afb85bf1aa2e62 (diff) | |
| download | mal-478fd9ce409a62ccb130c46008303da4dd44eed6.tar.gz mal-478fd9ce409a62ccb130c46008303da4dd44eed6.zip | |
miniMAL: use npm published miniMAL.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README.md | 8 | ||||
| -rw-r--r-- | miniMAL/package.json | 8 |
3 files changed, 13 insertions, 4 deletions
@@ -1,5 +1,6 @@ */experiments make/mal.mk +miniMAL/node_modules js/node_modules js/mal.js js/mal_web.js @@ -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" + } +} |
