Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Parser

The monkey-c-parser is the core that allows us to work with Monkey C at a higher level of abstraction — an Abstract Syntax Tree.

Heavily inspired (and motivated) by the work on astral-sh/ruff, which has the AST used by RustPython and an extremely fast formatter and linter.

Language Specification

The Garmin Connect IQ SDK does a decent job documenting the Monkey C language and has a language specification that the parser is based on.

Although not used in the parser, they also have API docs documenting the standard library.