Skip to content

repos-javascript-compilers/JSX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

JSX - Object-oriented, statically-typed programming language for browsers

INSTALLATION

Install development tools by the following command:

make setup

COMPILATION

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.

TESTING

For server side tests, just type the following command:

make test
# or
make test JOBS=2

WEB INTERFACE

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/

EXAMPLES

There are examples in example/ and web/example/.

About

JSX is a statically-typed, class-based object-oriented programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy