All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Remove
options.operatorNames
, all names inside\operatorname
are valid, you have to do extra validations if you want. - Remove
options.singleCharName
, latex conventionally uses single-char name for constants and variables. - Rename
builtIn
, theI
intoi
in all places. For exampleoptions.buitInFunctions
intooptions.builtinFunctions
. builtInControlSeq
rename tobuiltinLetters
Node.prototype.hasChild
Node.prototype.hasChildR
- New AST Node
"member expression"
. - New AST Node
"set"
. - New AST Node
"tuple"
. "..."
, at the beginning of options array that has default value of typeChecker
. This ellipsis will put the default ones.options.extra
memberExpressions
sets
tuples
intervals
matrices
ellipsis
sets
tuples
intervals
funcArgs
infixOperators
- Fix the issue (#1).
- Catch error more precisely when unexpected block closing char found
- Add files property in package.json to reduce the package size, and delete the development files.
- Tests for the basic arithmetics and autoMult option
- Tests for options.functions
- Preparing input before parsing, enabling parsing when the passed expression has some unimportant groups such as
as{da } ^{13}{/6}
->as da ^{13} /6
- Types "prod", "sqrt" to Node types.
- the error message when parsing
\dfhgw
, which is not defined, the parser throw "undefined control sequence dfhgw"; - Sqrt now is parsed with type = "sqrt" not "function" as before.
\lef( [expression] \right)
: an error was thrown when we try to parse such an expression, it considered right as control sequence name- Make the argument for BlockParentheses instance of Array