Wyrm Language Grammar #
This grammar file is generated directly from the packrate/PEG style parser and lexxer included in the wyrm source tree. As wyrm is still at prototype stage, the grammar is expected to drift. However, at this point, the majority of primitives with basic execution should be considered stable.
Lexical Conventions #
Basics #
Wyrm files shall be encoded in UTF-8.
Keywords #
Keywords are considered own tokens: and, break, catch, class, co, continue, defer, do, elif, else, emit, false, fn, for, from, if, import, in, is, nil, not, or, pass, return, signal, slot static, task, thread, true, try, var, while, with, yield