tyrian.typarser

Contains code for parsing and for building the AST

class tyrian.typarser.Parser(**kwargs)

Simplifies parsing

parse(lexer:list) → AST

given a list of tokens, returns a AST

Parameters:lexed – list of tokens to parse