Jeff Avallone
0f97afd880
Fixing font size of charset label
2014-12-09 19:03:50 -05:00
Jeff Avallone
cd11b7e6e5
Centralizing some of the layout code
2014-12-09 19:02:31 -05:00
Jeff Avallone
7ed865ecdb
Normalizing function names
2014-12-09 18:08:40 -05:00
Jeff Avallone
7ab386e7a4
Cleanup of match fragment rendering
2014-12-09 17:56:22 -05:00
Jeff Avallone
5a4c62c2c0
Cleanup of charset range rendering
2014-12-09 17:51:04 -05:00
Jeff Avallone
0cb090bc10
Cleanup of charset rendering code
2014-12-09 17:48:44 -05:00
Jeff Avallone
3bbd55c36a
Refactoring code for escape display
2014-12-09 17:43:05 -05:00
Jeff Avallone
cd279d3a80
Further refactoring of Regexper class
...
Still not entirely sure this is setup how I'd like it to be.
2014-12-07 21:40:05 -05:00
Jeff Avallone
ae064b2b8e
Adding rendering for Subexp
2014-12-07 21:16:23 -05:00
Jeff Avallone
52a0863449
Refactoring rendering code to allow the loader to show
...
The loader is mostly an easter egg for people who like to try rendering
that enormous email-matching regexp from the Mail::RFC822::Address perl
module
2014-12-07 18:19:00 -05:00
Jeff Avallone
e99c284216
Rendering CharsetRange
2014-12-07 17:51:13 -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
41c11ad5d4
Fixing bug with concatenation of literals
2014-12-06 15:46:46 -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
5fcb0758a3
Fixing re-display of regex
2014-12-06 10:36:23 -05:00
Jeff Avallone
4af501b37b
Fixing positioning of rendered expression
2014-12-05 23:06:02 -05:00
Jeff Avallone
354f9bc928
Getting textarea sizing and padding correct this time
2014-12-05 22:59:39 -05:00
Jeff Avallone
ca2494da16
Fixing styling bug
2014-12-04 21:25:44 -05:00
Jeff Avallone
d9abd5f139
Removing an extraneous connecting line
2014-12-04 21:23:18 -05:00
Jeff Avallone
042228d09f
Switching Karma test browser to Chrome
...
Apparently traceurRuntime doesn't work in PhantomJS
2014-12-04 19:11:30 -05:00
Jeff Avallone
257fb19369
Adding initial UI JS
...
This still needs lots of tests to be written, and checks for missing
browser functionality (specifically around Blob URLs)
2014-12-04 18:37:35 -05:00
Jeff Avallone
bd19966cab
Tweaking browserify setup to get all es6 features working
...
Currently getting an error about $traceurRuntime being undefined while
running Karma tests. This will need to be investigated.
2014-12-04 18:34:35 -05:00
Jeff Avallone
e1c299453c
Reducing the number of path elements that are generated
2014-12-03 20:35:26 -05:00
Jeff Avallone
5a000ec302
Adding spacing between MatchFragments
2014-12-03 20:26:09 -05:00
Jeff Avallone
502e4494d9
Some cleanup
2014-12-03 20:20:08 -05:00
Jeff Avallone
e7e97b0008
Adding lines before and after main Regexp body
2014-12-03 20:14:56 -05:00
Jeff Avallone
d1a058768e
Adding some styling to start and end anchors
2014-12-03 20:02:56 -05:00
Jeff Avallone
a88c4821b7
Refactoring to remove the container argument to render methods
...
A reference was being kept generally, so it was more useful to keep it
connected to the node
2014-12-03 18:59:59 -05:00
Jeff Avallone
6a9d498bf6
Refactoring to not render connectors for a Regexp with one Match
2014-12-03 18:46:48 -05:00
Jeff Avallone
fe6727b79a
Removing some debugging code
2014-12-03 18:46:40 -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
b9dd80a142
Adding type values to node extensions
...
These will be useful later
2014-12-02 20:10:56 -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
9609b1d5b7
Refactoring bounding box rendering method
2014-12-02 19:15:19 -05:00
Jeff Avallone
5afb4fa717
First pass for getting flow lines in place
...
This could use some refactoring
2014-11-30 21:20:03 -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
e910c757e5
Converting config into a module instead of just JSON
...
Allows the browserify config to be further unified. Also added ability
to build to different paths than just ./build
2014-11-30 14:39:56 -05:00
Jeff Avallone
30d88810d0
Creating Base module and extracting placeholder rendering
2014-11-30 14:10:27 -05:00
Jeff Avallone
4decff56e7
Cleanup of initial SVG rendering
2014-11-30 13:14:31 -05:00
Jeff Avallone
b1a615daf0
Adding line that somehow got deleted
2014-11-30 10:51:22 -05:00
Jeff Avallone
301dce5873
Integrated snap.svg and starting to render content
2014-11-30 10:48:33 -05:00
Jeff Avallone
57c0de7668
Extracting sourcemap from compiled JS file
2014-11-30 09:58:27 -05:00
Jeff Avallone
facb99e8bc
Beginning to add some functionality to the parser
2014-11-26 18:24:40 -05:00
Jeff Avallone
c6f2271867
Adding a stubbed out test
...
Removing old demo file and spec
2014-11-25 20:05:29 -05:00
Jeff Avallone
abd8a52f6b
Adding initial cut of JS regexp parser
2014-11-25 19:37:54 -05:00
Jeff Avallone
9136e3f37e
Ignoring .peg files for static file build
2014-11-25 08:56:10 -05:00