Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

JS++

< >

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

#222on PLDB 13Years Old


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 Token Example
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

View source

- Build the next great programming language ยท About ยท Acknowledgements ยท Extensions ยท Day 626 ยท feedback@pldb.io