Parses moon.pkg files
pub suberror ParseError { UnexpectedToken(Token) LexError(Loc, String)} derive(Eq)
pub(all) struct Loc { start : Pos end : Pos} derive(Eq)
pub(all) struct Pos { line : Int column : Int} derive(Eq)
type Token derive(Eq)
type TokenKind derive(Eq)
fn parse(input : String) -> Json raise ParseError
Install
Powered by MoonBit
© 2026 mooncakes.io