Skip to content

yjlo123/yjlo-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YJLO Script

YJLO Script is a scripting programming language written in JavaScript with numerous convenient features.

Example

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!
*/

Features

  • lightweight
  • dynamic typing
  • higher order functions
  • closures
  • function member reference
  • classes and inheritance
  • decorator
  • utility libraries
  • online IDE and REPL

Online Demo

Documentation

Example codes

Contributing

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.

License

YJLO Script is available under the permissive MIT license.