rumil_expressions 0.4.0 copy "rumil_expressions: ^0.4.0" to clipboard
rumil_expressions: ^0.4.0 copied to clipboard

Formula evaluator built on Rumil: arithmetic, boolean logic, string ops, variables, custom functions, and precise error locations.

0.4.0 #

  • Depends on rumil ^0.4.0. Version aligned.

0.3.1 #

  • Depends on rumil ^0.3.0.

0.3.0 #

  • Exported shared eval helpers: asNum, asBool, typeName, applyBinaryOp, applyUnaryOp, compareValues.

0.2.0 #

  • Exported shared evaluation helpers: asNum, asBool, typeName, applyBinaryOp, applyUnaryOp, compareValues.
  • Depends on rumil ^0.2.0 (fail renamed to failure).

0.1.1 #

  • Doc comments on all public API elements.

0.1.0 #

  • Core parser combinators: sealed Parser ADT with 26 subtypes, external interpreter, defunctionalized trampoline
  • Warth seed-growth left recursion via rule()
  • Stack-safe to 10M+ operations
  • Typed errors with source location (line, column, offset)
  • Lazy error construction via late final thunks
  • RadixNode O(m) string matching
  • Full combinator DSL: .zip(), .thenSkip(), .skipThen(), |, .map, .flatMap, .many, .sepBy, .chainl1, .chainr1, .between, .capture, .memoize
  • Format parsers: JSON (RFC 8259), CSV (RFC 4180), XML, TOML (v1.0.0), YAML (simplified 1.2), Proto3 schema
  • AST decoders for JSON, TOML, YAML with ObjectAccessor pattern
  • Formula evaluator with operator precedence via chainl1, variables, custom functions
  • Binary codec: ZigZag, LEB128 Varint, BinaryCodec with xmap + product2product6 composition
  • build_runner codegen for @binarySerializable classes and sealed hierarchies
0
likes
160
points
307
downloads

Documentation

API reference

Publisher

verified publisherardaproject.org

Weekly Downloads

Formula evaluator built on Rumil: arithmetic, boolean logic, string ops, variables, custom functions, and precise error locations.

Repository (GitHub)
View/report issues

Topics

#parser #expression #evaluator

License

MIT (license)

Dependencies

rumil

More

Packages that depend on rumil_expressions