ForNeVeR / xaml-math

A collection of .NET libraries for rendering mathematical formulae using the LaTeX typesetting style, for the WPF and Avalonia XAML-based frameworks
MIT License
634 stars 100 forks source link

Extracted method for parsing left group char in `TexFormulaParser` #442

Closed Lehonti closed 11 months ago

Lehonti commented 11 months ago

I see that this parser is mutation-based...In the future I'd like to make it more immutable, more functional, and more generation-based. This is a step in that direction (although I don't think that's obvious right now). Thankfully all methods are private so refactoring is easier

ForNeVeR commented 11 months ago

I see that this parser is mutation-based...In the future I'd like to make it more immutable, more functional, and more generation-based.

We even have an issue about that: #29

Lehonti commented 11 months ago

No problem, I accepted your suggestions :) And sure, I could probably refactor it at some point