Skip to content

grug-lang/grug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grug

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.

Contributing

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.

Sections

grug.c is composed of sections, which you can jump between by searching for //// in the file:

  1. GRUG DOCUMENTATION
  2. INCLUDES AND DEFINES
  3. UTILS
  4. RUNTIME ERROR HANDLING
  5. JSON
  6. PARSING MOD API JSON
  7. READING
  8. TOKENIZATION
  9. PARSING
  10. DUMPING AST
  11. APPLYING AST
  12. TYPE PROPAGATION
  13. COMPILING
  14. LINKING
  15. HOT RELOADING

Programs showcasing grug

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages