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