Capstone 2: designing PocketLang's grammar and rules
Writing PocketLang's complete formal grammar, checking it for LL(1)-friendliness by hand, and defining its full type system and scoping rules before writing any implementation code.
11 min readUpdated 2026-09-03compiler-designcapstonegrammarlanguage-design