Module parser

Source
Expand description

The parser herein is supposed to meet the following criteria:

  • real-time parsing (suitable for IDE syntax highlighting).
  • zero-copy parsing (only copying pointers).
  • fault tolerant parsing; again, so it can be used in IDE/text editors. Eventually I’d like to support incremental parsing as well.

Structs§

Character
ParseTree
Word

Enums§

Mode
OpenToken

Functions§

init_characters
init_words
parse_source