JTS GO

Programming that gets out of your way.

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.

Windows Installer npm License GitHub stars
demo.jts
# 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

Everything you need. Nothing you don't.

Designed for absolute beginners, powerful enough for real projects.

Lists, Dicts & Sets

First-class collections with [1, 2, 3], {"key": "value"}, and {1, 2, 3} — with set union, intersection, and difference.

Closures & Functions

First-class functions with recursion and closures. Nested functions capture their surrounding scope.

Bitwise Operators

&, |, ^, ~, <<, >> with compound assignments. Plus is, del, and assert.

Classes & Inheritance

Classes, methods, and inheritance with extends and self. Clean OOP out of the box.

Machine Learning Built-ins

Tensors, matrices, matmul, sigmoid, relu, and MSE loss — built directly into the language.

HTTP Server

Spin up an HTTP server with http_server() and make requests with http_request().

Try, Catch, Finally

List comprehensions, try / catch / finally / throw, and graceful error handling.

Scrolls

Reusable library files loaded with bring. A standard library ships with the kit.

VS Code Debugger

Breakpoints, step in/out/over, and variable inspection inside VS Code.

Clean, minimal, readable

Blocks close with end, everything is an expression, and the standard library covers everyday tasks.

features.jts
# 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 declarations
  • func name(args) ... end — clean function syntax
  • for x of 0 to N and while loops
  • if / elif / else conditionals
  • class / extends / new / self OOP with inheritance
  • try / catch / finally / throw exceptions
  • say, ask, len, type built-ins
  • bring scroll_name package system
  • # single-line comments

Learn by running code

A 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.

01

Hello, World!

say and your first program.

02

Variables and Math

Variables, arithmetic, str().

03

Conditionals

if / elif / else.

04

Loops

for / while, break & continue.

05

Strings

Methods and the strings scroll.

06

Functions

func, return, recursion.

07

Lists

Indexing, methods, the lists scroll.

08

Dicts and Sets

Key-value pairs and unique collections.

09

Classes

OOP, extends, and super.

10

Files and JSON

Read/write files, bring json.

11

Errors

throw and try/catch/finally.

12

ML and Web

sigmoid, mse, http_server.

Run any tutorial with jts tutorials/01_hello.jts. See the tutorial index for details.

Up and running in seconds

Works on Windows, macOS, and Linux.

1

npm Install (All Platforms)

Works on Windows, macOS, and Linux. Requires Node.js v14+.

npm install -g @jaytechsolutions/jts-go
2

Download for Your OS

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.

3

Build from Source

One command compiles the runtime with any C11 compiler. See the README for details.

jts hello.jts

Three commands, every stage

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

Books

A comprehensive reference and a hands-on tutorial companion.

JTS GO Programming Language book

The JTS GO Programming Language

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
JTS GO Tutorials book

JTS GO Tutorials: Learn by Doing

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
View Book Source