1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 13:55:55 +03:00

miniMAL: use npm published miniMAL.

This commit is contained in:
Joel Martin 2015-03-02 13:20:55 -06:00
parent 751ab516f1
commit 478fd9ce40
3 changed files with 13 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*/experiments
make/mal.mk
miniMAL/node_modules
js/node_modules
js/mal.js
js/mal_web.js

View File

@ -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
```

8
miniMAL/package.json Normal file
View File

@ -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"
}
}