Terence Parr
|
9cd32f36b4
|
remove comment and package spec from grammar
|
2013-09-17 17:13:10 -07:00 |
Terence Parr
|
3ab2733635
|
-package not @header
|
2013-09-16 16:03:53 -07:00 |
Terence Parr
|
5e7c1c2cf1
|
update changes file for xpath changes
|
2013-09-16 15:51:37 -07:00 |
Terence Parr
|
3f3e826820
|
was missing gen'd v4 src in compile target.
|
2013-09-16 15:49:49 -07:00 |
Terence Parr
|
cc421addfd
|
add antlr4 to build.xml
|
2013-09-16 15:19:35 -07:00 |
Terence Parr
|
8aeb90ef82
|
mv findAll to XPath; rm old test in playground.
|
2013-09-16 14:56:35 -07:00 |
Terence Parr
|
76633525bf
|
rm comments
|
2013-09-16 14:50:28 -07:00 |
Terence Parr
|
6b1cef745c
|
rm unneeded getChildren
|
2013-09-16 14:50:13 -07:00 |
Terence Parr
|
004f47174b
|
rm comment
|
2013-09-13 13:57:20 -07:00 |
Terence Parr
|
01082414c3
|
rebuilt XPath using ANTLR itself; added error handling; added ! operator
|
2013-09-13 13:53:42 -07:00 |
Terence Parr
|
a86895c557
|
prototype xpath
|
2013-09-12 17:22:02 -07:00 |
Terence Parr
|
211f69d0f1
|
simplify
|
2013-09-12 17:12:54 -07:00 |
Terence Parr
|
09ddded3ed
|
cleaned up test rig. more tests. fix bugs.
|
2013-09-11 17:49:25 -07:00 |
Terence Parr
|
088cd4a9bc
|
got test rig start. added support test rig stuff to exec parser. add findAll to ParseTree interface.
|
2013-09-11 14:59:53 -07:00 |
Terence Parr
|
3fda64f85b
|
got a draft implementation
|
2013-09-11 11:25:07 -07:00 |
Terence Parr
|
8237952cbb
|
stash
|
2013-09-10 20:11:01 -07:00 |
Terence Parr
|
20d8545e3d
|
stash
|
2013-09-10 19:51:11 -07:00 |
Terence Parr
|
913cda0721
|
adding more xpath expr types
|
2013-09-10 19:48:36 -07:00 |
Terence Parr
|
76418c2b9b
|
refine getChildren() method to narrow return type.
|
2013-09-10 17:43:25 -07:00 |
Terence Parr
|
cbd6e17925
|
oops; need method: add getChildren() method to Tree.
|
2013-09-10 17:37:20 -07:00 |
Terence Parr
|
00fa2c7617
|
add getChildren() method to Tree.
|
2013-09-10 17:34:24 -07:00 |
Terence Parr
|
d505a393ef
|
tweak
|
2013-09-10 15:14:53 -07:00 |
Terence Parr
|
d2caae46a7
|
working on xpath
|
2013-09-10 14:55:40 -07:00 |
Terence Parr
|
145aeb955d
|
initial add of xpath stuff
|
2013-09-10 13:18:47 -07:00 |
Terence Parr
|
4055c24171
|
add comment
|
2013-09-09 17:30:04 -07:00 |
Terence Parr
|
76b4eef60a
|
more unit tests; add <.>
|
2013-09-09 17:26:16 -07:00 |
Terence Parr
|
6a26f0499f
|
a new test
|
2013-09-09 15:17:27 -07:00 |
Terence Parr
|
95aa103dc2
|
matches text now if not <ID> node
|
2013-09-09 15:13:37 -07:00 |
Terence Parr
|
f995e47443
|
rm ruletag from ParserRuleContext; back to (expr <expr>) for tag in pattern
|
2013-09-09 14:54:44 -07:00 |
Terence Parr
|
94d3c71b02
|
rm unneeded IF check
|
2013-09-09 14:47:02 -07:00 |
Terence Parr
|
90187039f0
|
foo
|
2013-09-09 14:45:46 -07:00 |
Terence Parr
|
0df4411ea7
|
got optimized tree back with <expr> as single node
|
2013-09-09 13:50:33 -07:00 |
Terence Parr
|
7ead36fb4b
|
fix error handling to just match <expr> as token under expr RuleNode
|
2013-09-08 19:10:04 -07:00 |
Terence Parr
|
cfac804b57
|
fix error handling to just match <expr> as token under expr RuleNode
|
2013-09-08 18:56:07 -07:00 |
Terence Parr
|
b1c4c77d28
|
tweak
|
2013-09-05 17:16:43 -07:00 |
Terence Parr
|
754348605d
|
create match object for matching
|
2013-09-05 16:58:37 -07:00 |
Terence Parr
|
35e279cef1
|
change name from T.g4 to X.g4 to avoid weird classloader issue. TLexer lives somewhere in my damn system and I can't find it.
|
2013-09-05 10:35:20 -07:00 |
Terence Parr
|
d2f7ba8339
|
cleanup
|
2013-09-04 17:25:14 -07:00 |
Terence Parr
|
4b87f84b99
|
got decent test rig
|
2013-09-04 17:09:14 -07:00 |
Terence Parr
|
731b0f6528
|
damn intellij
|
2013-09-04 14:51:04 -07:00 |
Terence Parr
|
531c31861a
|
got basic pattern compilation going
|
2013-09-04 14:48:21 -07:00 |
Terence Parr
|
56cd7cdf2c
|
split apart
|
2013-09-04 12:37:04 -07:00 |
Terence Parr
|
5f60ad859e
|
stash
|
2013-09-04 10:15:22 -07:00 |
Terence Parr
|
1070d3a10f
|
improved tag matching, got escapes working.
|
2013-09-03 18:32:54 -07:00 |
Terence Parr
|
d4316ff44b
|
ah. stupid intellij didn't submit
|
2013-09-02 18:21:21 -07:00 |
Terence Parr
|
b4a7ace911
|
got decent start
|
2013-09-02 18:20:58 -07:00 |
Terence Parr
|
3416f6db05
|
playing with initial matcher
|
2013-09-01 15:43:50 -07:00 |
Terence Parr
|
6d1d0e0488
|
Merge pull request #329 from parrt/master
Lots of little fixes thanks to Coverity Scan
|
2013-08-31 17:50:25 -07:00 |
Terence Parr
|
bb1354b522
|
add note about Coverity cleanup.
|
2013-08-31 17:47:34 -07:00 |
Terence Parr
|
2aade3eecc
|
avoid resource leak and cleanup (Coverity)
|
2013-08-31 17:46:23 -07:00 |