Files
ground-rewrite/README.md

29 lines
575 B
Markdown

# Building
Install dependencies (uthash, libffi) then:
```sh
meson setup builddir
meson compile -C builddir
```
Install with:
```sh
meson install -C builddir
```
You may need to run `ldconfig` or reboot to update your ld cache.
## Bytecode Format
Under the hood, Ground uses a bytecode format to store things.
## 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...`