Göran Krampe 2a20d14e2f Improved jtalk compiler, now named jtalkc in nodejs directory. Not specific to Node anymore. %!s(int64=13) %!d(string=hai) anos
..
Hello.st 2a20d14e2f Improved jtalk compiler, now named jtalkc in nodejs directory. Not specific to Node anymore. %!s(int64=13) %!d(string=hai) anos
Makefile 2a20d14e2f Improved jtalk compiler, now named jtalkc in nodejs directory. Not specific to Node anymore. %!s(int64=13) %!d(string=hai) anos
README 93156f8c48 Cleanups and better docs of nodejs stuff. %!s(int64=13) %!d(string=hai) anos
hello d8e07e3d94 Added some code for using JTalk with Node.js %!s(int64=13) %!d(string=hai) anos

README

Trivial Node.js example in JTalk:

Hello.st - source code.
hello - trivial bash script to run resulting program.
main.js - small "doit" to actually run code. Will be added by ntalkc.
Makefile - trivial makefile, read it.

Hello.js - produced when you run make. Contains JTalk + Hello.st + main.js

To play, do this:

make run

...or:

make
./hello