YJLO Script is a scripting programming language written in JavaScript with numerous convenient features.
class Greeting {
var _names
// constructor
@(list) {
_names = list
}
func sayHelloToAll() {
for name in _names {
print("Hello", name + "!")
}
}
}
myGreeting := Greeting(["World", "JS", "YJLO"])
myGreeting.sayHelloToAll()
/* OUTPUT
Hello World!
Hello JS!
Hello YJLO!
*/
- lightweight
- dynamic typing
- higher order functions
- closures
- function member reference
- classes and inheritance
- decorator
- utility libraries
- online IDE and REPL
- Human Resource Machine Simulator
- Example directory
- LeetCode (In progress, current target: 50)
- Minimal examples of data structures and algorithms (In progress)
Contributions to YJLO Script are welcomed and encouraged!
Open an issue if you find a bug or have a feature request.
Email me to ask any questions.
Submit a pull request if you want to contribute.
YJLO Script is available under the permissive MIT license.