█████████████████████████████████████████████████████████████████████████████
█ █▒
█ ████ ████ █████ ██████ █████ ████ █████ ██████ █████ ██████ █▒░
█ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █▒░
█ ██ ██ ██ ██ ██ ████ ████ ██ █████ ██ █████ ██ █▒░
█ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █▒░
█ ████ ████ █████ ██████ █████ ████ ██ ██ ██████ ██ ██ ██ █▒░
█ █▒░
█████████████████████████████████████████████████████████████████████████████▒░
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
A programming language inspired by JavaScript, TypeScript, and Python. Written in TypeScript. Extension: .code
Download and run CodescriptInstaller.exe from the releases page.
Requires Node.js
codes # opens the REPL
codes file.code # runs a .code file
codes --help # shows help
codes --version # shows versionvar name = "Isaque"
func greet(n:string)
{
print("Hello, " + n)
}
class Person
{
build(n:string, a:number)
{
me.name = n
me.age = a
}
introduce()
{
print("Hi, I am " + me.name)
}
}
greet(name)
var p = Person("Isaque", 14)
p.introduce()
- Variables, functions, classes
if/else,while,until,for,foreverloopsmeinstead ofthis/selfbuild()instead ofconstructor()~single line comments,~[]multi-line comments$importfor modules- REPL and file runner
- Supports compact and expanded brace styles
npm install
npm run build
codesMIT
Online Interpreter here