https://github.com/superbox64/jibberjabber
JJ is a token based computer language designed for AI with the ability to transpile to C, JS, Assembly and Python with more output languages to coming soon
https://github.com/superbox64/jibberjabber
assembly claudecode interpreter jibberjabber jibjab jj lexer parser python swift toddbruss token transpiler
Last synced: 5 months ago
JSON representation
JJ is a token based computer language designed for AI with the ability to transpile to C, JS, Assembly and Python with more output languages to coming soon
- Host: GitHub
- URL: https://github.com/superbox64/jibberjabber
- Owner: SuperBox64
- License: mit
- Created: 2026-01-25T01:41:16.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2026-01-30T12:22:42.000Z (5 months ago)
- Last Synced: 2026-01-30T16:50:19.307Z (5 months ago)
- Topics: assembly, claudecode, interpreter, jibberjabber, jibjab, jj, lexer, parser, python, swift, toddbruss, token, transpiler
- Language: Swift
- Homepage:
- Size: 39.2 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
BattleScript
## JJ aka JibberJabber AI programming language 1.0 by Todd Bruss
An **AI-first programming language** created by [Todd Bruss](https://github.com/SuperBox64). JibberJabber is a polyglot engine designed to integrate AI models as primary execution components rather than external tools. It supports transcoding and cross-compilation across multiple environments, bridging high-level AI logic and system performance.
```jj
~>frob{7a3}::emit("Greetings Earthling!")
```
---
## What It Does
JibberJabber facilitates seamless interaction between human-written code and AI-generated logic. AI generates high-level JJ logic, and the engine materializes it into production-ready code for a specific tech stack.
- **10-Language Transcoding** - Write once, deploy to Swift, Python, C, C++, Go, JavaScript, and more
- **Run and Compile** - Beyond simple translation, JJ provides tooling to compile and run generated code in each target
- **Native ARM64 Compiler** - Generates Mach-O binaries directly, no assembler or linker needed
- **Agentic Engineering** - AI as a primary execution component, not an external tool
**Targets:** `py` `js` `c` `cpp` `swift` `objc` `objcpp` `go` `asm` `applescript`
---
## Prerequisites
```bash
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install go
brew install quickjs
```
See [jibjab/README.md](jibjab/README.md) for alternative install methods.
---
## Runtimes
| Runtime | Language | Location | Best For |
|---------|----------|----------|----------|
| **jjswift** | Swift | `jibjab/jjswift/` | Native macOS, ARM64 compilation |
| **jjpy** | Python | `jibjab/jjpy/` | Cross-platform |
| **BattleScript** | SwiftUI | `BattleScript/` | Visual IDE for JibJab |
See [jibjab/README.md](jibjab/README.md) for dependencies and setup.
---
## BattleScript IDE
Native macOS IDE for JibJab. Write JJ code and instantly see it transpiled to all 10 targets, then compile and run any target with one click.
See [BattleScript/README.md](BattleScript/README.md) for details.
---
## CLI Usage
```
$ jjswift
JibJab Language v1.0 (Swift)
Usage:
jjswift run - Run JJ program (interpreter)
jjswift compile [output] - Compile direct to native binary
jjswift asm [output] - Compile via asm transpiler + as/ld
jjswift transpile - Transpile to target language
jjswift build [output] - Transpile + compile
jjswift exec - Transpile + compile + run
Targets: applescript, asm, c, cpp, go, js, objc, objcpp, py, swift
```
```bash
$ jjswift exec examples/hello.jj py
Hello, JibJab World!
$ jjswift exec examples/hello.jj swift
Hello, JibJab World!
$ jjswift compile examples/hello.jj hello && ./hello
Hello, JibJab World!
```
---
## How It Works
```
JJ Source → Lexer → Parser → AST
├─ Interpreter → Run
├─ Compiler → ARM64 Mach-O → Run
└─ Transpiler → 10 Languages → Compile → Run
```
See [Language Spec](jibjab/SPEC.md) for the full pipeline diagram.
---
## More
- [Quick Start & Commands (jjswift)](jibjab/README.md)
- [jjpy Runtime & Usage](jibjab/jjpy/README.md)
- [JJ Language Spec](jibjab/SPEC.md)
- [Regression Tests](jibjab/TESTS.md)
- [BattleScript SwiftUI JJ Experimental IDE](BattleScript/README.md)
---
## About JJ
JJ is an experimental AI-first computer programming language by Todd Bruss with a write once, run anywhere methodology. MIT License.