Tutorials¶
Hands-on walkthroughs that take you from a blank file to something running.
Each tutorial is a complete, followable session: every command is meant to be typed, and every output shown is what you should see. If you just want the reference material instead, see the Documentation pages.
Start Here¶
Work through these in order.
1. Introduction and Installation
What Gloat is, what it can produce, and how to get a working
gloat command - including where it puts everything and how
to keep it current.
2. Compiling Your First Clojure Binary
Write a Clojure program and take it all the way to a self-contained native executable - then to another platform, and into the browser.
Coming Soon¶
More tutorials are planned. If one of these is what you need next, say so in an issue and it will get written sooner.
Calling Go Libraries
Pull a Go module into your program with gljdeps.edn and call
it from Glojure.
Building a Shared Library
Compile to a .so with a generated C header, then call it
from Python, Ruby, and Rust.
REPL-Driven Development
Use the Glojure REPL, nREPL, and socket REPL to develop against a live program.
Shipping a CLI Tool
Turn a script into a released project with Makes, multi-platform
binaries, and go install support.
Other Learning Material¶
- Getting Started - the condensed tour of every Gloat feature.
- Demo - compile and run programs in your browser, nothing to install.
- Examples - 50+ working programs in Clojure and YAMLScript.
- Ecosystem Tutorial - how the gloat, glojure, makes, and downstream repositories fit together.