~kf5jwc/imp-parser

ref: 9a694fa0d8b73f01beb051b54cdab8a2b000be09 imp-parser/imp_parser/parser/__init__.py -rw-r--r-- 276 bytes View raw
9a694fa0 — Kyle Jones I've done more type annotating, which.... helped? 1 year, 6 months ago
                                                                                
1
2
3
4
5
6
7
8
from .result import Result # It's weird, but this needs to be imported first-ish.
from .combinators import Phrase, Exp # This one needs to come second-ish?
from .statements import stmt_list
from .arithmetic import aexp


def parser() -> Phrase:
    return Phrase(stmt_list())