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:
parent
751ab516f1
commit
478fd9ce40
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
```
|
||||
|
||||
|
8
miniMAL/package.json
Normal file
8
miniMAL/package.json
Normal 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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user