🌱 A simple programming language. 482 Commits
2025-03-18 18:48:45 +01:00
2025-03-14 09:52:00 +01:00
2025-03-14 09:52:00 +01:00
2023-10-17 11:06:14 +02:00
2025-03-11 14:31:06 +01:00
2025-03-11 14:31:06 +01:00
2025-02-25 17:16:09 +01:00

q

A programming language that quickly compiles to machine code.

Goals

  • Fast compilation
  • High performance
  • Small executables
  • Zero dependencies

Installation

git clone https://git.urbach.dev/cli/q
cd q
go build

Either use ./q from the build directory or get access to the shorter q in any directory with ln -s $PWD/q ~/.local/bin/q.

Usage

q run examples/hello

You can take a look at the examples.

Tests

go run gotest.tools/gotestsum@latest

This will run over 400 tests in various categories.

Platforms

You can cross-compile executables for Linux, Mac and Windows.

q build examples/hello --os linux
q build examples/hello --os mac
q build examples/hello --os windows

Or with different architectures:

q build examples/hello --arch x86
q build examples/hello --arch arm

Status

q is under heavy development and not ready for production yet. Feel free to get in touch if you are interested in helping out.

The biggest obstacle right now is the lack of funding. You can help by donating via Kofi or Open Collective.

License

Please see the license documentation.

© 2023 Eduard Urbach