Skip to content

Support to parsing incomplete Latex expressions #5

@mindreframer

Description

@mindreframer

Parsing incomplete (mathematically) expressions seems to leave some parts outs, eg:

parse("2 * 2 = ")

=> [ 'Multiply', { num: '2' }, { num: '2' } ]

parse("2 * 2 = 4")
=> [ 'Equal', [ 'Multiply', { num: '2' }, { num: '2' } ], { num: '4' } ]

This has the implication that chained parse / serialize calls would alter the initial input...

Will this ever work with in-complete expressions?

Metadata

Metadata

Assignees

Labels

featureNew feature or enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions