2026-06-13 19:45:36 +10:00
|
|
|
# Building
|
|
|
|
|
|
|
|
|
|
Install dependencies (uthash, libffi) then:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
meson setup builddir
|
|
|
|
|
meson compile -C builddir
|
|
|
|
|
```
|
2026-06-15 20:27:50 +10:00
|
|
|
|
|
|
|
|
Install with:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
meson install -C builddir
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You may need to run `ldconfig` or reboot to update your ld cache.
|
2026-06-20 19:45:52 +10:00
|
|
|
|
|
|
|
|
## Bytecode Format
|
|
|
|
|
|
|
|
|
|
Under the hood, Ground uses a bytecode format to store things.
|
2026-07-04 17:53:14 +10:00
|
|
|
|
|
|
|
|
## Changes from old CGround
|
|
|
|
|
|
|
|
|
|
### `extern` instruction
|
|
|
|
|
|
|
|
|
|
`extern` no longer loads a dynamic library from /usr/lib/ground, it is now used to detail a system shared library to open.
|
|
|
|
|
|
|
|
|
|
Format: `extern "libName" "symbolName" !functionName -returnType -argType...`
|