Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

JS++

< >

JS++ is a programming language created in 2011 by Roger Poon and Anton Rapetov.

#1272on PLDB 13Years Old
Homepage · Wikipedia


Example from Wikipedia:
1 int x = 1; // declares the variable x with an "internal type" (JS++ type) 2 var y = 2; // declares the variable y with an "external type" (JavaScript type) 3 bool z = true; // declares the variable z with an "internal type" (JS++ type)
abstract auto break bool byte catch char class continue debugger delete do double else enum external false final finally float for foreach function if import in instanceof int interface long module new null override overwrite private protected property public return short signed string super switch static this true try typeid typeof undefined unsigned var virtual void while with yield

Language features

Feature Supported Example Token
Garbage Collection ✓
Integers ✓
Floats ✓
Hexadecimals ✓
Conditionals ✓
Inheritance ✓
Switch Statements ✓
Classes ✓
While Loops ✓
Booleans ✓ true false
Regular Expression Syntax Sugar ✓
Strings ✓ "
MultiLine Comments ✓ /* A comment */ /* */
Print() Debugging ✓ console.log
Line Comments ✓ // A comment //
Comments ✓
Semantic Indentation X

- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v144.0.0