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
..
Makefile 2a20d14e2f Improved jtalk compiler, now named jtalkc in nodejs directory. Not specific to Node anymore. %!s(int64=13) %!d(string=hai) anos
README 01de379433 Some improvements to TrivialServer, we can call require from class side initializer, as long as we skip using var so that we actually modify the global variable. %!s(int64=13) %!d(string=hai) anos
TrivialServer.st 01de379433 Some improvements to TrivialServer, we can call require from class side initializer, as long as we skip using var so that we actually modify the global variable. %!s(int64=13) %!d(string=hai) anos
main.js 01de379433 Some improvements to TrivialServer, we can call require from class side initializer, as long as we skip using var so that we actually modify the global variable. %!s(int64=13) %!d(string=hai) anos
trivial a361ce94bd Added trivial server example with nodejs. %!s(int64=13) %!d(string=hai) anos

README

Trivial Node.js example in JTalk:

TrivialServer.st - source code.
trivial - 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.

TrivialServer.js - produced when you run make.
Program.js - Contains JTalk + TrivialServer.js + main.js

To play, do this:

make run

...or:

make
./trivial