Skip to content

Commit 6a7e7be

Browse files
committed
Update README
Signed-off-by: Stefan Marr <[email protected]>
1 parent dff634a commit 6a7e7be

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

README.md

+10-15
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
WebAssembly CSOM
2-
----------------
3-
4-
- install [emscripten](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)
5-
- load core `git submodule update --init`
6-
- build with: `emmake make clean && emmake make`
7-
- run with: `node CSOM.js -cp Smalltalk Examples/Hello.som`
8-
9-
Known Issues
10-
------------
11-
12-
- not selectable in ostool, but hard coded WebAssembly target
13-
- SOM tests not all passing
14-
- only tested on macOS 10.12 Sierra
15-
161
CSOM - The Simple Object Machine implemented in C
172
=================================================
183

@@ -62,6 +47,16 @@ distributed under the MIT License. Please see the LICENSE file for details.
6247
Additional documentation, detailing for instance the object model and how to
6348
implement primitives, is available in the `doc` folder.
6449

50+
WebAssembly CSOM
51+
----------------
52+
53+
CSOM can be compiled using GCC, Clang, but also emscripten.
54+
With emscripten, it can run on Node.js as follows:
55+
56+
- install [emscripten](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html) and set it up for compilation.
57+
One easy way is using Docker, as in the .travis.yml. Another is with [emsdk](https://github.com/juj/emsdk/)
58+
- build with: `make emscripten`
59+
- run with: `node CSOM.js -cp Smalltalk Examples/Hello.som`
6560

6661
Build Status
6762
------------

0 commit comments

Comments
 (0)