Skip to content

Source code for the implementation of the Klex-interpreted programming language example. Used on the website.

License

Notifications You must be signed in to change notification settings

Mylo-Softworks/Klex-Lang-Example

Repository files navigation

Klex-Lang-Example

An example scripting language parsed in Klex, using Kotlin/JS to run in the browser.

You can try it out here

Below is a simple program which creates a function named "greet" and then

greet = function(value) { // Functions are defined like variables
	return "Hello " + value + "!"
}

name = "world"

greet(name)

This project

  • jsMain: Contains the main entrypoint, and bindings for the Mylo-Softworks website.
  • commonMain: Contains the actual source code for the parser and interpreter.

About

Source code for the implementation of the Klex-interpreted programming language example. Used on the website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages