LiHS
ac8d90e65a
Adding named group capture
2019-08-15 13:59:41 +08:00
Jeff Avallone
988f5ca7d5
Adding sticky and unicode flags
...
Closes #33
2018-02-10 11:23:56 -05:00
Jeff Avallone
2ceb94fc42
Adding support for including ^ and $ in the middle of an expression
...
Closes #29
2016-07-31 11:45:48 -04:00
Jeff Avallone
a4f831bc60
Cleaning up some messy code in the grammar
2014-12-22 16:28:46 -05:00
Jeff Avallone
9e6f066763
Reducing duplication in grammar
2014-12-22 16:26:08 -05:00
Jeff Avallone
b35dece228
Fixing character set ranges
...
Certain escape sequences are not considered in ranges, and lead to the
hyphen to be part of the matched set of characters
2014-12-22 16:09:27 -05:00
Jeff Avallone
580af045d6
Adjusting grammar to match \c escape "correctly"
...
\c followed by something other than a-z leads to inconsistent behavior
across browsers. Most will treat it as a series of literals (/\c#/ will
match the string "\\c#" for example)
2014-12-22 15:00:38 -05:00
Jeff Avallone
d27831a265
Adding tests for CharsetEscape nodes
2014-12-19 21:56:56 -05:00
Jeff Avallone
43eaf493e6
Removing some cruft in the grammar
2014-12-19 20:35:20 -05:00
Jeff Avallone
70789258ab
Removing CharsetLiteral
...
It was no different from just Literal (and most likely won't be any
different)
2014-12-19 20:23:32 -05:00
Jeff Avallone
e362a54551
Converting methods into properties where possible/reasonable
2014-12-17 14:44:48 -05:00
Jeff Avallone
b4b999d7a6
Removing support for "{,n}" syntax
...
Don't know I missed that this isn't supported in JS
2014-12-15 11:11:17 -05:00
Jeff Avallone
ae064b2b8e
Adding rendering for Subexp
2014-12-07 21:16:23 -05:00
Jeff Avallone
fadfaee440
Adding code to render charsets
2014-12-07 17:38:24 -05:00
Jeff Avallone
9cc23183be
Adding rendering code for escape, literal, and "."
2014-12-07 15:26:45 -05:00
Jeff Avallone
f5d1e734f1
Removing Terminal type and replacing with Literal, Escape, and AnyChar
...
This is to eventually simplify the combining of Literals together (and
to actually make it work correctly, since terminals should not have been
merged)
2014-12-06 16:03:58 -05:00
Jeff Avallone
d2b96c7833
Adding code to render loop and skip paths for repetitions
...
This currently breaks the rendering and will need more work. Also need
to add labels for {a,b} syntax
2014-12-06 12:34:00 -05:00
Jeff Avallone
b364198030
Adding a MatchFragment rule
...
Also reducing the amount of object cloning that is being done
2014-12-02 21:09:20 -05:00
Jeff Avallone
7d84669536
First cut of rendering match elements
...
This is currently broken, but a starting point for further work.
2014-12-02 21:02:48 -05:00
Jeff Avallone
1ffcd785f8
Changing names of grammar elements.
...
Starting with an "_" will prevent collisions with extensions
2014-12-02 19:59:10 -05:00
Jeff Avallone
f8cded8eac
Adding first cut of code to render alternations
...
Still need to implement lines to the individual parts
2014-11-30 17:54:12 -05:00
Jeff Avallone
ed2c26c39e
Adding basic code to render stand and end indicators
2014-11-30 15:36:53 -05:00
Jeff Avallone
301dce5873
Integrated snap.svg and starting to render content
2014-11-30 10:48:33 -05:00
Jeff Avallone
facb99e8bc
Beginning to add some functionality to the parser
2014-11-26 18:24:40 -05:00