JTS GO is a bytecode-compiled language with one installer, zero configuration, and an IDE built in. From say("Hello") to ML models and web servers — no pip, no PATH hell.
# demo.jts — your first program
func fib(n)
if n <= 1
return n
end
return fib(n - 1) + fib(n - 2)
end
for i of 0 to 10
say(fib(i))
end
Designed for absolute beginners, powerful enough for real projects.
First-class collections with [1, 2, 3], {"key": "value"}, and {1, 2, 3} — with set union, intersection, and difference.
First-class functions with recursion and closures. Nested functions capture their surrounding scope.
&, |, ^, ~, <<, >> with compound assignments. Plus is, del, and assert.
Classes, methods, and inheritance with extends and self. Clean OOP out of the box.
Tensors, matrices, matmul, sigmoid, relu, and MSE loss — built directly into the language.
Spin up an HTTP server with http_server() and make requests with http_request().
List comprehensions, try / catch / finally / throw, and graceful error handling.
Reusable library files loaded with bring. A standard library ships with the kit.
Breakpoints, step in/out/over, and variable inspection inside VS Code.
Blocks close with end, everything is an expression, and the standard library covers everyday tasks.
# features.jts — sets and comprehension
primes = {2, 3, 5, 7, 11}
odds = set([1, 3, 5, 7, 9])
say(primes & odds) # {5, 7}
say(primes | odds) # {1, 2, 3, 5, 7, 9, 11}
say(5 & 3) # 1
assert 3 of primes
del odds
x = 42 — dynamic variables, no type declarationsfunc name(args) ... end — clean function syntaxfor x of 0 to N and while loopsif / elif / else conditionalsclass / extends / new / self OOP with inheritancetry / catch / finally / throw exceptionssay, ask, len, type built-insbring scroll_name package system# single-line commentsA 12-part hands-on ladder — from "Hello, World!" to machine learning and web servers. Every tutorial is a runnable program with a challenge at the end.
Run any tutorial with jts tutorials/01_hello.jts. See the tutorial index for details.
Works on Windows, macOS, and Linux.
Works on Windows, macOS, and Linux. Requires Node.js v14+.
Windows gets the full JTS IDE with the SDK, tutorials, scrolls, and examples bundled. macOS and Linux ship as a CLI binary. No Node.js needed.
Windows CLI only? Grab jts-win32-x64.zip instead.
One command compiles the runtime with any C11 compiler. See the README for details.
From source to bytecode to execution — all in your terminal.
jts
Compile and run a .jts file in one step
jtsc
Compile source to .jbc bytecode
jtsvm
Execute compiled bytecode directly
--update
Update to the latest release from GitHub
A comprehensive reference and a hands-on tutorial companion.
149-page comprehensive reference and learning guide. From syntax basics to machine learning, web development, and the complete standard library. Every concept with verified code examples and output.
Download Reference Book
18-page hands-on companion. Twelve step-by-step programs from Hello, World! to machine learning and web servers. Every tutorial is a complete, runnable file you can run as-is.
Download Tutorial Book