d0ab66a823
Python Save() and SavedLiteral(). Split factory and matcher.
master
Ian Gulliver
2014-08-03 11:25:29 -07:00
b11a659f0c
Allow distinguishing tag names in badpenny.
Ian Gulliver
2014-08-03 11:04:52 -07:00
8aacb5cfdb
Break python test by importing badpenny.
Ian Gulliver
2014-08-03 10:59:39 -07:00
fe48937cfa
Add Save() and SavedLiteral() matchers. Add badpenny grammar.
Ian Gulliver
2014-08-03 10:46:34 -07:00
e5daba4d86
Move static content into /static
Ian Gulliver
2014-07-04 16:27:57 -04:00
110a0418a7
Save memory used storing grammar by caching equivalent matchers.
Ian Gulliver
2014-07-03 21:31:37 -04:00
1db15bee52
Python: Pull group, extract and filter order fixes from JavaScript
Ian Gulliver
2014-07-03 01:20:40 -04:00
71a687cc25
JavaScript: change filter application strategy and grouping/extraction code to work around ordering issues.
Ian Gulliver
2014-07-03 01:11:39 -04:00
ae2828b2c2
Python: fix DOM bugs that were breaking grouping filter
Ian Gulliver
2014-07-02 14:01:19 -07:00
8a9f9acbaa
Python: add > escaping
Ian Gulliver
2014-07-02 13:42:17 -07:00
2e75804e30
Start of a Python test
Ian Gulliver
2014-07-02 13:40:29 -07:00
8293063100
Bugfix in Insert()
Ian Gulliver
2014-07-02 13:40:19 -07:00
39457a0f8c
Now with pyc files to ignore
Ian Gulliver
2014-07-02 13:34:10 -07:00
34f5512407
Python: escaping, fix in filter
Ian Gulliver
2014-07-02 13:33:20 -07:00
d6222c374c
Working python parsing, some working stringification
Ian Gulliver
2014-07-02 13:24:59 -07:00
42f1547dd7
First parse through a file; still have bugs
Ian Gulliver
2014-07-02 13:09:24 -07:00
09a3b9c2ec
Make rules and filters public
Ian Gulliver
2014-07-02 13:09:06 -07:00
980c877f56
Correct handling of link href
Ian Gulliver
2014-07-02 10:00:33 -07:00
d37ef27e8a
List of pre-formatted line support. Real image conversion to figure support.
Ian Gulliver
2014-07-02 09:57:45 -07:00
fc5dc49e72
Avoid constantly calling toLowerCase()
Ian Gulliver
2014-07-02 09:31:09 -07:00
987defe93e
Say "Element" instead of "Tag"
Ian Gulliver
2014-07-02 09:26:16 -07:00
ccc13f7a20
More filters needed to support mediawiki list parsing.
Ian Gulliver
2014-07-01 23:16:39 -07:00
e34bdfc96d
Revert "Revert "Change filtering model again to allow more complex filters.""
Ian Gulliver
2014-07-01 17:25:10 -07:00
0f86637a6c
Revert "Change filtering model again to allow more complex filters."
Ian Gulliver
2014-07-01 17:24:28 -07:00
a49c9f6db8
Change filtering model again to allow more complex filters.
Ian Gulliver
2014-07-01 17:23:41 -07:00
8b7b0670db
Support multiple filters per node type.
Ian Gulliver
2014-07-01 17:19:14 -07:00
696e9642dd
Make grammar look Python-esque
Ian Gulliver
2014-06-30 23:18:58 -07:00
dfb1e07f46
Create a Parser object that can package up rules and filters.
Ian Gulliver
2014-06-30 23:14:20 -07:00
241a27c9c1
Framework for applying filters, and one filter to start with.
Ian Gulliver
2014-06-30 22:59:08 -07:00
7d7345b9ec
Hide comments.
Ian Gulliver
2014-06-30 22:27:39 -07:00
f326683aaa
mediawiki image grammar.
Ian Gulliver
2014-06-30 21:46:44 -07:00
7affa466d4
Add link support to mediawiki grammer. Fix a bug in rr.Node()
Ian Gulliver
2014-06-30 21:12:12 -07:00
1586375bba
Ian learns how to use exceptions in JavaScript.
Ian Gulliver
2014-06-30 20:33:35 -07:00
a3b4eafd73
Fix some grammar problems in mediawiki
Ian Gulliver
2014-06-30 20:28:23 -07:00
58ab9a57db
Add rr.Insert()
Ian Gulliver
2014-06-30 20:11:30 -07:00
4c816eb8da
Add test for pre-formatted list-type line.
Ian Gulliver
2014-06-30 20:11:14 -07:00
616f365587
Working test.
Ian Gulliver
2014-06-29 23:14:17 -07:00
72c0278b13
Style cleanups.
Ian Gulliver
2014-06-29 23:02:12 -07:00
d3a039fa12
Bugfix for StartOfLine() (actually Context.stringBefore())
Ian Gulliver
2014-06-29 23:01:48 -07:00
e401d1e77b
Big grammar expansion.
Ian Gulliver
2014-06-29 22:23:06 -07:00
3bc51e27a6
Formatting cleanup for grammar.
Ian Gulliver
2014-06-29 18:27:46 -07:00
14860b6323
Add a CharExcept building block. Switch MultiLineText and SingleLineText to be built on top of it. Also add OneOrMore, Char.
Ian Gulliver
2014-06-29 18:20:28 -07:00
08a6d90750
Satisfy linter.
Ian Gulliver
2014-06-29 17:51:21 -07:00
ef6f8800fd
Big alphabetization.
Ian Gulliver
2014-06-29 17:49:43 -07:00
78cc56dc46
Make ZeroOrMore non-greedy to make it nestable without exponential behavior.
Ian Gulliver
2014-06-29 17:39:24 -07:00
2f03f4d9ff
Delete a bunch of debugging getting me nowhere.
Ian Gulliver
2014-06-28 22:23:54 -07:00