JSX - Object-oriented, statically-typed programming language for browsers
The JSX compiler requires node.js
v0.6.0 or later.
To setup JSX SDK , type the following command:
git clone git://github.com/jsx/JSX.git
cd JSX
make setup
There's bin/jsx
command to compile JSX source code into JavaScript.
Type the following command and see what happens:
# display compiled code to stdout
jsx$ bin/jsx example/hello.jsx
# compile and execute
jsx$ bin/jsx --executable --output hello.js example/hello.jsx
jsx$ node hello.js # displays "Hello, world!"
jsx --help
shows how to to use the jsx command.
For server side tests, just type the following command:
make test
# or
make test JOBS=2
There's a web interface, which compiles JSX source on browsers. Type the following commands to use the web interface.
make web
make server # to run a HTTP daemon
open http://localhost:5000/
There are examples in example/
and web/example/
.
- JSX web page - http://jsx.github.com/
- JSX project page - https://github.com/jsx
- JSX compiler - https://github.com/jsx/JSX
- Issue Tracker https://github.com/jsx/JSX/issues