Module mycroft::parse [] [src]

Provides parsing functions for the Mycroft language.

Enums

AnyStmt

This is not for general use, it's public due to a quirk of the parser! macro AnyStmt is a wrapper type around all AST statements to allow parsing in arbitrary orders. This allows people to put predicates in the files which interact with them rather than globally at the top.

Functions

program

program will return a combine parser constructor that will parse legal Mycroft programs. To parse with it: