Skip to content

v0.1.1

Choose a tag to compare

@xirf xirf released this 07 Jan 10:12
· 21 commits to master since this release

Bug Fixes & UX Improvements

  • Parsing: Fixed strict syntax parsing for integral bounds (e.g., \int_0^1 is now supported).
  • Evaluation: Fixed evaluateNumeric behavior for complex numbers; results are now handled correctly when using evaluate().
  • JSON Export: Fixed VectorExpr JSON schema to use components key, matching the AST definition.

Added

  • LaTeX Commands: Implemented support for common academic symbols:
    • Arrows: \mapsto, \Rightarrow, \Leftarrow, \Leftrightarrow.
    • Relation & Set Operators: \approx, \propto, \cup, \cap, \setminus, \subset, \subseteq, \supset, \supseteq.
    • Quantifiers: \forall and \exists (parsed as variables for syntax tolerance).
    • Decorations: \dot, \ddot, and \bar functions for physics and statistical notation.

Changed

  • Breaking Change: Renamed LatexException to TexprException (and LatexParserException -> ParserException, etc.) to better align with the library name.
  • Error Messages: Significantly improved parser error clarity. Error messages now use readable symbols (e.g., got: '*') instead of internal enum names (e.g., got: multiply).
  • Parser: Improved syntax tolerance for known commands on implicit multiplication (e.g., sin(x)).
  • Documentation: Updated feature guides, notation references, and example code.