Skip to content

v1.0.0

Choose a tag to compare

@revarbat revarbat released this 22 Jun 20:07

openscad_lalr_parser v1.0.0

Initial stable release of the OpenSCAD LALR(1) parser — a fast, drop-in replacement for openscad_parser powered by Lark.

Features

  • Full OpenSCAD language support: modules, functions, expressions, vectors, list comprehensions, control flow, use/include
  • Complete AST node hierarchy matching openscad_parser API
  • Inline and standalone comment preservation via CommentedExpr
  • Pretty-print formatter (--format) with configurable indentation
  • JSON, YAML, and formatted output modes
  • Source map generation
  • Scope analysis (build_scopes())
  • CLI tool (openscad-lalr)
  • Disk-based parser cache for fast repeated parsing
  • 1,000+ tests with full parity against openscad_parser