Begin work on reworked extern instruction

This commit is contained in:
2026-07-04 17:53:14 +10:00
parent 3204613c6f
commit 7c29048397
4 changed files with 100 additions and 3 deletions

View File

@@ -18,3 +18,11 @@ 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...`