Nick Dumas
40713dd763
bazel + gazelle integration
10 months ago
Nick Dumas
b269ca3100
messing with bazel
10 months ago
Nick Dumas
9de66ba0da
cleaning tests up
11 months ago
Nick Dumas
8602e2e16e
don't need that anymore
11 months ago
Nick Dumas
f179840fb9
more escape test cases
11 months ago
Nick Dumas
be33bd2c20
expand escape character test cases
11 months ago
Nick Dumas
cb9786ece8
properly handle escape characters
11 months ago
Nick Dumas
b9049f340e
trying to handle escape characters now
11 months ago
Nick Dumas
5e12c32fc5
Big renaming pass, this is about more than just wikilinks
11 months ago
Nick Dumas
be0d629280
Cleaning test code and output up with testify
11 months ago
Nick Dumas
8b4ba717e2
Renaming in preparation for more tests
11 months ago
Nick Dumas
3f3696eb9f
Lexer can now handle multi-line inputs
11 months ago
Nick Dumas
17699a114c
tests for simple parsing of wikilinks in larger content blocks
11 months ago
Nick Dumas
4235beff81
can't assume this empty token will be there anymore
11 months ago
Nick Dumas
37dcdb9168
Logging is tuneable for better debugging experience
11 months ago
Nick Dumas
ee6cad7662
removing nonexistent origin for this repo
11 months ago
Nick Dumas
82dd27bd06
More tests
11 months ago
Nick Dumas
04458800d1
tests refactored pretty nicely now
11 months ago
Nick Dumas
25f949fafd
refactoring tests to make this easier
11 months ago
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.
11 months ago
Nick Dumas
ebeea16b0d
Full test suite for Obsidian wikilinks
11 months ago
Nick Dumas
a8fe8282b3
passing tests
11 months ago
Nick Dumas
d5a48dd362
lexIdent is the problem for sure
11 months ago
Nick Dumas
0c7b00e9b5
non-concurrent, test cases back to expected state
11 months ago
Nick Dumas
b9e1bab075
More concurrency debugging
11 months ago
Nick Dumas
c963462545
Synchronizing access to state
11 months ago
Nick Dumas
2859ccd56f
race log
11 months ago
Nick Dumas
87e489729c
demo code
11 months ago
Nick Dumas
4748dab2ff
now i'm using zap
11 months ago
Nick Dumas
fa80f3ceea
don't need this anymore
11 months ago
Nick Dumas
17306030b7
adding zap
11 months ago
Nick Dumas
d377070fe1
upgrading test suite
11 months ago
Nick Dumas
4735f0b36d
debugging
11 months ago
Nick Dumas
c109f142b6
improve logging
11 months ago
Nick Dumas
10076d69ea
Fixing concurrency problems
11 months ago
Nick Dumas
949b5c240e
I believe I now have a working wikilink lexer
11 months ago
Nick Dumas
4bc6d7ceda
Not much better
11 months ago
Nick Dumas
72bd02d990
oops, that's why test output sucked so bad
11 months ago
Nick Dumas
717e429efd
still trying to get lexAlias working
11 months ago
Nick Dumas
126dd495ba
More testing
11 months ago
Nick Dumas
24b7320e0f
testable lexer, in theory
11 months ago
Nick Dumas
2b0d0f8bdb
Stringer for ItemType
11 months ago
Nick Dumas
50973a9273
Adding stringer and generate targets
11 months ago
Nick Dumas
8138ae6e54
first round of tests for the lexer
11 months ago
Nick Dumas
9f110fff78
code compiles
11 months ago
Nick Dumas
ef8775d224
first draft of the lexer
11 months ago
Nick Dumas
2eda50a592
expanding test case coverage
11 months ago
Nick Dumas
2a57969dea
don't need this anymore
11 months ago
Nick Dumas
452920ff17
first round of unit tests
11 months ago
Nick Dumas
c3b5d8e663
Cleaning things up to turn this into a proper parser
11 months ago