Skip to content
AJpro774Public

Repository files navigation

Juno / Juni

Juni is a systems language that feels like Python and performs like C++: statically typed, no GC, explicit memory and refs, compiling natively to WebAssembly — with Canvas2D, a small 3D API on WebGPU, frame loops, and input for games and simulations.

Juno is this repository. Author: Alexander James Patton. See CREDITS.md.

Try it online

Hosted IDE (same build):

Open Kuni — local AI chatbot on KunoEngine (WebLLM + WASM). Also at junoengine.netlify.app/kuni/.

Deploy via root vercel.json or netlify.toml (build ide/, publish ide/dist). See docs/src/projects/netlify.md.

Status (v13.0.0)

  • Host imports: extern "module": blocks bind engine functions as WASM imports; pruned import tables; juni_driver::compile_single_with_prelude for native engines (Kerabit 3.0 runs Juni as its scripting language)
  • Language: runtime array / str_substr bounds traps; named borrow diagnostics; array_len
  • IDE: resizable panes; themes; Cat Coffee; trap console remapping for OOB
  • Authoring: entity scripts + Open/Stub; tilemap paint; 3D Edit; Code Search; Anim editor
  • Engine: ECS / .jscene; 2D + 3D AABB physics + hybrid 2D→3D; collision / trigger events; world_draw3d
  • Optional AI: WebLLM — deeper RAG / project-aware chat — off by default
  • Projects: flat ide/ / crates/ / docs/ / examples/ / runtime/; Netlify flat-only; juni export-web
  • Examples: platformer_3d, platformer, scene3d_lit, paddle, audio, modules
  • CI: tests + example checks; desktop multi-arch release with optional macOS notarization / Windows signing

Browser IDE (local)

Double-click RunJuniEditor.command, or:

cd ide && npm run build:wasm
cd ide && npm install && npm run dev

Open http://localhost:5173 — Run (⌘/Ctrl+Enter) compiles and executes; starts frame when exported.

Kuni (same origin): header switcher Juni | Kuni, or http://localhost:5173/kuni/

CLI quick start

cd examples/projects/hello_modules
cargo run -p juni-cli -- build
node ../../runtime/host.js hello_modules.wasm

Check all samples:

bash scripts/check-examples.sh
bash scripts/check-projects.sh

Desktop IDE

cd ide && npm run build:wasm
cd desktop && npm install && npm run dev

Layout

Path Role
crates/* Compiler (syntax, check, codegen, driver, lsp, CLI, wasm)
ide/ Vite + Monaco browser IDE
kuni/ Kuni local AI chatbot (KunoEngine / WebLLM)
desktop/ Tauri 2 native shell
runtime/ JS host + stubs
examples/ Single-file .juni programs
examples/projects/ Multi-module juni.toml projects
docs/ Language + project docs
CHANGELOG.md Release notes
CREDITS.md People, models, and software per version

Publish (hosted IDE)

Host URL
Vercel (canonical / latest) https://junoengine.vercel.app/
Netlify (mirror) https://junoengine.netlify.app/
  • Vercel: root vercel.json — Framework Other, install npm install --prefix ide, build cd ide && npm run build, output ide/dist, NODE_VERSION=20.
  • Netlify: root netlify.toml — import the repo, or npx netlify deploy --build --prod from a full clone. See docs/src/projects/netlify.md.
git remote add origin https://github.com/AJpro774/Juno.git
git push -u origin main
git push origin v6.0.0

Optional: GitHub Pages (legacy)

.github/workflows/pages.yml can still publish a Pages build (GITHUB_PAGES=true, Vite base /Juno/). Enable Settings → Pages → Build and deployment → GitHub Actions if you want that mirror. Prefer Vercel (junoengine.vercel.app) for the latest hosted IDE.

Docs

See docs/src/intro.md, or open Docs in the IDE.

License

Juni is under the Apache License 2.0 plus the EULA for distributed IDE/apps.

  • Free for everyone — personal, hobby, education, and commercial use of any size
  • No monthly fees, no revenue share, no royalties on games or projects you ship
  • Games you create remain yours

Releases

Packages

Contributors

Languages