Commit Graph

54 Commits (40713dd7636eb8784405878ca8d1e6fc8558578e)
 

Author SHA1 Message Date
Nick Dumas 40713dd763 bazel + gazelle integration
Nick Dumas b269ca3100 messing with bazel
Nick Dumas 9de66ba0da cleaning tests up
Nick Dumas 8602e2e16e don't need that anymore
Nick Dumas f179840fb9 more escape test cases
Nick Dumas be33bd2c20 expand escape character test cases
Nick Dumas cb9786ece8 properly handle escape characters
Nick Dumas b9049f340e trying to handle escape characters now
Nick Dumas 5e12c32fc5 Big renaming pass, this is about more than just wikilinks
Nick Dumas be0d629280 Cleaning test code and output up with testify
Nick Dumas 8b4ba717e2 Renaming in preparation for more tests
Nick Dumas 3f3696eb9f Lexer can now handle multi-line inputs
Nick Dumas 17699a114c tests for simple parsing of wikilinks in larger content blocks
Nick Dumas 4235beff81 can't assume this empty token will be there anymore
Nick Dumas 37dcdb9168 Logging is tuneable for better debugging experience
Nick Dumas ee6cad7662 removing nonexistent origin for this repo
Nick Dumas 82dd27bd06 More tests
Nick Dumas 04458800d1 tests refactored pretty nicely now
Nick Dumas 25f949fafd refactoring tests to make this easier
Nick Dumas 0b377a0500 Expand test cases, refine logging configuration
Wiki links don't occur in a vacuum, I need to be able to parse entire
blocks of markdown and extract the wikilinks properly.

Now that I've gotten the lexer working I mostly don't need to see every
single change to the position/start/width values, but the
instrumentation will be useful for future debugging.
Nick Dumas ebeea16b0d Full test suite for Obsidian wikilinks
Nick Dumas a8fe8282b3 passing tests
Nick Dumas d5a48dd362 lexIdent is the problem for sure
Nick Dumas 0c7b00e9b5 non-concurrent, test cases back to expected state
Nick Dumas b9e1bab075 More concurrency debugging
Nick Dumas c963462545 Synchronizing access to state
Nick Dumas 2859ccd56f race log
Nick Dumas 87e489729c demo code
Nick Dumas 4748dab2ff now i'm using zap
Nick Dumas fa80f3ceea don't need this anymore
Nick Dumas 17306030b7 adding zap
Nick Dumas d377070fe1 upgrading test suite
Nick Dumas 4735f0b36d debugging
Nick Dumas c109f142b6 improve logging
Nick Dumas 10076d69ea Fixing concurrency problems
Nick Dumas 949b5c240e I believe I now have a working wikilink lexer
Nick Dumas 4bc6d7ceda Not much better
Nick Dumas 72bd02d990 oops, that's why test output sucked so bad
Nick Dumas 717e429efd still trying to get lexAlias working
Nick Dumas 126dd495ba More testing
Nick Dumas 24b7320e0f testable lexer, in theory
Nick Dumas 2b0d0f8bdb Stringer for ItemType
Nick Dumas 50973a9273 Adding stringer and generate targets
Nick Dumas 8138ae6e54 first round of tests for the lexer
Nick Dumas 9f110fff78 code compiles
Nick Dumas ef8775d224 first draft of the lexer
Nick Dumas 2eda50a592 expanding test case coverage
Nick Dumas 2a57969dea don't need this anymore
Nick Dumas 452920ff17 first round of unit tests
Nick Dumas c3b5d8e663 Cleaning things up to turn this into a proper parser