Getting Started
Get Quill installed and running on your machine in under a minute.
Installation
macOS (Homebrew)
brew install quill
Coming soon. Homebrew installation is in progress. For now, use the download method below.
Download from GitHub
# macOS / Linux
curl -fsSL https://quill.tradebuddy.dev/install.sh | sh
# Or download the binary directly
# Visit https://github.com/tradebuddyhq/quill/releases
Windows
# Download the .exe from GitHub releases
# Add it to your PATH
Verify installation
quill --version
# quill 0.1.0
Your first program
Create a file called hello.quill:
say "Hello, World!"
Run it:
quill run hello.quill
You should see:
Hello, World!
Congratulations! You just ran your first Quill program.
A real program
Let's write something more interesting. Create greet.quill:
-- A greeting program
name is "Quill"
version is 1
say "Welcome to {name} version {version}!"
languages are ["Python", "JavaScript", "Quill"]
for each lang in languages:
if lang is "Quill":
say "{lang} is the best!"
otherwise:
say "{lang} is pretty good too"
Run it:
quill run greet.quill
Welcome to Quill version 1!
Python is pretty good too
JavaScript is pretty good too
Quill is the best!
Building to JavaScript
Quill compiles to JavaScript. You can output the compiled JS with:
quill build hello.quill -o hello.js
Then run it with Node.js or include it in a web page:
node hello.js
Next steps
- Read the Language Reference to learn all of Quill's syntax
- Explore the Standard Library for built-in functions
- Try the Playground to experiment in your browser
- Check out Examples for complete programs