sundaysebasidian-byte/moondmn/feel/parser does not have a README file

    Arg

    pub(all) struct Arg {
    name : String?
    value : Expr
    }

    A positional or named FEEL call argument.

    Expr

    pub(all) enum Expr {
    Lit(
    Value
    )
    Name(String)
    Unary(String, Expr)
    Binary(String, Expr, Expr)
    IfThenElse(Expr, Expr, Expr)
    ListLit(Array[Expr])
    ContextLit(Array[(String, Expr)])
    RangeLit(Expr?, Bool, Expr?, Bool)
    Seq(Expr, Expr)
    Call(Expr, Array[Arg])
    Path(Expr, String)
    Filter(Expr, Expr)
    For(Array[(String, Expr)], Expr)
    SomeIn(Array[(String, Expr)], Expr)
    EveryIn(Array[(String, Expr)], Expr)
    FunctionDef(Array[String], Expr)
    TypedFunctionDef(Array[(String, String)], Expr)
    InstanceOf(Expr, String)
    Between(Expr, Expr, Expr)
    In(Expr, Test)
    }

    Compiled FEEL expression tree; treat as immutable after compilation.

    Test

    pub(all) enum Test {
    AnyTest
    NotTest(Test)
    CompareTest(String, Expr)
    RangeTest(Expr?, Bool, Expr?, Bool)
    ExprTest(Expr)
    AnyOfTest(Array[Test])
    }

    A unary test as used by decision table input entries and the in operator.

    compile

    Compile a complete FEEL expression using the supplied scoped names.

    compile_test

    fn compile_test(source : String, names? : Array[String]) -> Test raise
    EngineError

    Compile a decision table input entry or an in operand.

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io