pkgparser

    Parses moon.pkg files

    build
    parser
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    4 months ago
    Downloads
    16

    #sennenki/pkgparser

    ParseError

    pub suberror ParseError {
    UnexpectedToken(Token)
    LexError(Loc, String)
    } derive(Eq)

    Loc

    pub(all) struct Loc {
    start : Pos
    end : Pos
    } derive(Eq)

    Pos

    pub(all) struct Pos {
    line : Int
    column : Int
    } derive(Eq)

    Token

    type Token derive(Eq)

    TokenKind

    type TokenKind derive(Eq)

    parse

    fn parse(input : String) -> Json raise ParseError

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io