2024-08-26 12:46:47 +02:00
# q
A programming language that compiles down to machine code.
## Features
- Fast compilation
- High performance
- Small executables
2025-02-10 11:16:22 +01:00
- Zero dependencies
2024-08-26 12:46:47 +02:00
## Installation
```shell
git clone https://git.akyoto.dev/cli/q
cd q
go build
```
2025-02-17 23:51:31 +01:00
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` .
2025-02-17 11:05:17 +01:00
2025-02-17 23:51:31 +01:00
## Usage
2025-02-10 10:56:32 +01:00
```shell
2025-02-17 11:15:59 +01:00
q run examples/hello
2025-02-10 10:56:32 +01:00
```
2025-02-17 23:51:31 +01:00
You can take a look at the [examples ](../examples ).
2025-02-10 10:56:32 +01:00
2025-02-17 23:51:31 +01:00
## Tests
2025-02-10 10:56:32 +01:00
2025-02-17 23:51:31 +01:00
```shell
go run gotest.tools/gotestsum@latest
2025-02-10 10:56:32 +01:00
```
2025-02-17 23:51:31 +01:00
This will run over 350 tests in various categories.
2025-02-10 10:56:32 +01:00
## Platforms
You can cross-compile executables for Linux, Mac and Windows.
```shell
q build examples/hello --os linux
q build examples/hello --os mac
q build examples/hello --os windows
```
## Status
2025-02-10 11:16:22 +01:00
`q` is under heavy development and not ready for production yet.
2025-02-10 10:56:32 +01:00
Feel free to [get in touch ](https://akyoto.dev/contact ) if you are interested in helping out.
2024-08-26 12:46:47 +02:00
2025-02-10 11:16:22 +01:00
The biggest obstacle right now is the lack of funding. If you want to help out financially you can [donate towards the project ](https://en.liberapay.com/akyoto ).
2025-02-10 10:56:32 +01:00
## License
2024-08-26 12:46:47 +02:00
2025-02-10 10:56:32 +01:00
Please see the [license documentation ](https://akyoto.dev/license ).
2024-08-26 12:46:47 +02:00
## Copyright
© 2023 Eduard Urbach