See my YouTube video explaining and showcasing grug:
See my blog post for an introduction to the grug modding language.
You can find its test suite here.
In VS Code, you can install the extension simply called grug to get syntax highlighting and a grug file icon.
grug.c contains documentation at the top of the file, and the MIT license at the very bottom. grug.h refers to the MIT license in grug.c.
Create an issue in grug's GitHub repository, before you make any pull request.
This gives everyone the chance to discuss it, and prevents your hard work from being rejected.
grug.c is composed of sections, which you can jump between by searching for //// in the file:
- GRUG DOCUMENTATION
- INCLUDES AND DEFINES
- UTILS
- RUNTIME ERROR HANDLING
- JSON
- PARSING MOD API JSON
- READING
- TOKENIZATION
- PARSING
- DUMPING AST
- APPLYING AST
- TYPE PROPAGATION
- COMPILING
- LINKING
- HOT RELOADING