aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-03-02 13:20:55 -0600
committerJoel Martin <github@martintribe.org>2015-03-02 13:20:55 -0600
commit478fd9ce409a62ccb130c46008303da4dd44eed6 (patch)
tree43fda43f24aa3e3b4f14b31167e1aa1c565cbf93
parent751ab516f1ecb639543ba99363afb85bf1aa2e62 (diff)
downloadmal-478fd9ce409a62ccb130c46008303da4dd44eed6.tar.gz
mal-478fd9ce409a62ccb130c46008303da4dd44eed6.zip
miniMAL: use npm published miniMAL.
-rw-r--r--.gitignore1
-rw-r--r--README.md8
-rw-r--r--miniMAL/package.json8
3 files changed, 13 insertions, 4 deletions
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"
+ }
+}