Commit ab9f87c
Parser refactor (part 1) (#143)
* LaTeXParser now uses Result
* CI passing?
* nullables are now errors
* Eliminate a nullability error
* WIP refactor in progress
* Finished porting AtomForCommand over
* Stop Commands should be able to be ported now
* Ported Stop Commands
* Trie
* Moved commands up
* Be more linent w.r.t. slow VMs
* See the time
* Now we optimize it
* Trie optimized
* Optimizations again
* Trie removal
* Generalized trie
* Trie iterate
* \atopwithdelims
* Correct implementation of \rm and friends
* Fix test
* Fixed \sqrt[3}
* Fix \TeX
* Using the trie
* Optimize trie lookup
* Update dotnet
* Simplify Result
* Fix comments
* Add comment range tests
* Apply suggestions from code review
Co-authored-by: FoggyFinder <FoggyFinder@yandex.ua>
* Document a bit
* Rename kern -> skip
* Revert AngouriUpdate
* Fix types
* remove unused methods prior to reviewing ProxyAdder
* hygiene: remove "add" optional function inside BiDictionary (breaks build)
* builds
* simplify
* remove some unused BiDictionary methods and fix implementations of remaining methods
* remove unused MultiDictionary
* remove commented code
* Add doc and TODO about doc
* further BiDictionary simplification
* finished reviewing bidictionary
* correct RemoveByFirst
* correct RemoveByFirst
* Fix BiDictionary initialization (messy; awaiting LaTeXCommandDictionary documentation for further cleanup)
* fix BiDictionary initialization
* fix bidicitonary initializastion
* remove class constraint on TFirst
* Remove unused LaTeXCommandDictionary properties
* prune and document LaTeXCommandDictionary
* Remove Trie
* remove Trie pt 2
* Fix casing as ReadOnlySpan.StartsWithInvariant seems to be case insentitive
* document asymmetric RemoveByFirst/Second approach
* Add dictionary remove tests
* revert latexsettings.cs
* revert latexsettings
* rename added
* Document LaTeXCommandDictionary
* restore a test
* tweaks
* tweaks
* tweaks
* tweaks
* Remove CopyTo as it is not used and BiDictionary doesn't implement ICollection
* Added an unused method but this is bad practice
* stringcomparison.ordinal to fix test
* another ordinal
* "AliasBiDictionary"
* Fix a method reference
* Find longest non-command
* tidy concatenation
* Use (string Command, TValue Value)
* apply automatic refactor
* remove i
* Simplify SortedSet
* fix build
* shorten
* local functions
* Update CSharpMath/Structures/Dictionary.cs
Co-authored-by: Hadrian Tang <hadrianwttang@outlook.com>
* string
* suppressmessage
* csharp syntax
* Update justification
* Use more documentation tags
* Update test description
* Clarify words
* Apply suggested change
Co-authored-by: FoggyFinder <FoggyFinder@yandex.ua>
Co-authored-by: FoggyFinder <FoggyFinder@yandex.ua>
Co-authored-by: Charles Roddie <charles.roddie@mathspire.com>
Co-authored-by: Charles Roddie <charles.roddie@cantab.net>1 parent d835e93 commit ab9f87c
File tree
61 files changed
+1998
-2006
lines changed- .github/workflows
- CSharpMath.CoreTests
- CSharpMath.Editor.Tests
- CSharpMath.Editor
- CSharpMath.Evaluation.Tests
- CSharpMath.Evaluation
- CSharpMath.Ios.Example
- CSharpMath.Ios.Tests
- CSharpMath.Rendering.Tests
- MathDisplay
- MathInline
- TextCenterInfiniteWidth
- TextCenter
- TextLeftInfiniteWidth
- TextLeft
- TextRightInfiniteWidth
- TextRight
- CSharpMath.Rendering.Text.Tests
- CSharpMath.Rendering
- Text
- CSharpMath.Xaml.Tests
- CSharpMath
- Atom
- Atoms
- Display
- Structures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
61 files changed
+1998
-2006
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments