Ben Kurtovic
|
da3ad8ce9d
|
Document Parser.
|
12 years ago |
Ben Kurtovic
|
b0fbe5dc8e
|
Document Tag.
|
12 years ago |
Ben Kurtovic
|
b0418189d6
|
Document all of Template, plus some other fixes.
|
12 years ago |
Ben Kurtovic
|
0d224e1a63
|
Document mwparserfromhell.nodes, Node, Heading, and HTMLEntity.
|
12 years ago |
Ben Kurtovic
|
aeb214acb5
|
Document compat, nodes.extras, Attribute, Parameter
|
12 years ago |
Ben Kurtovic
|
d9805d409b
|
Document SmartList, StringMixIn, utils; some cleanup.
|
12 years ago |
Ben Kurtovic
|
c07869674f
|
Finish documenting Wikicode.
|
12 years ago |
Ben Kurtovic
|
1bc6aa7d3e
|
Document all other methods except the last three in Wikicode.
|
12 years ago |
Ben Kurtovic
|
ed6501344d
|
Docstrings for a good chunk of Wikicode.
|
12 years ago |
Ben Kurtovic
|
0487661c99
|
py3k support __setitem__ and __delitem__ of SmartList.
|
12 years ago |
Ben Kurtovic
|
f21f13374e
|
Fix py2 token support.
|
12 years ago |
Ben Kurtovic
|
391a5bd373
|
Compat for the parser itself.
|
12 years ago |
Ben Kurtovic
|
90b18e3abc
|
Finish updating all to compat except for the parser.
|
12 years ago |
Ben Kurtovic
|
d6a0d6b737
|
Update py3k compatibility in some modules.
|
12 years ago |
Ben Kurtovic
|
ea28e991d9
|
Merge pull request #3 from Riamse/develop
Forgot to add compat.py (#1)
|
12 years ago |
Riamse
|
c4fd7b7468
|
Remove test.py - unintentionally added
|
12 years ago |
Riamse
|
a24821057c
|
Forgot to add compat.py
|
12 years ago |
Ben Kurtovic
|
dea1612d77
|
Merge pull request #2 from Riamse/develop
Adding Python 3 support experimentally (#1)
|
12 years ago |
Riamse
|
aa4b45c1bb
|
Forgot the extras folder
|
12 years ago |
Ben Kurtovic
|
e6fa7b2b2d
|
Support changing a template's name, plus a couple of typos and docs.
|
12 years ago |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
12 years ago |
Ben Kurtovic
|
0a052f34fb
|
Clarify Python 3 stuff.
|
12 years ago |
Ben Kurtovic
|
ce43b44596
|
Copyedit, fixes, clarify Python 2 + 3 support.
|
12 years ago |
Ben Kurtovic
|
59a25818b9
|
Updating documentation.
|
12 years ago |
Ben Kurtovic
|
222f3b7dc3
|
Merged feature/parser into develop; good enough for now.
|
12 years ago |
Ben Kurtovic
|
fc66ce0654
|
Update remove() for when a templates has the same key multiple times.
|
12 years ago |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
12 years ago |
Ben Kurtovic
|
40b6480aa7
|
Split on all characters that we use.
|
12 years ago |
Ben Kurtovic
|
664b6e39ec
|
_write(text=True) -> _write_text(); __eq__ for Tokens
|
12 years ago |
Ben Kurtovic
|
278594a8cf
|
Faster parsing: split the text on sentinels instead of every letter.
|
12 years ago |
Ben Kurtovic
|
aec66b0db7
|
Missed another call (2.0 seconds -> 1.5 seconds for 1,000,000 chars).
|
12 years ago |
Ben Kurtovic
|
3fd13100da
|
Another speedup by reducing calls to _read().
|
12 years ago |
Ben Kurtovic
|
889fd316d3
|
A rogue print statement appears!
|
12 years ago |
Ben Kurtovic
|
31103b5891
|
_push_textbuffer() in _verify_template_name()
|
12 years ago |
Ben Kurtovic
|
2f4ce003b4
|
Massive speedup and refactoring.
|
12 years ago |
Ben Kurtovic
|
010bd34653
|
Support HTMLEntities.
|
12 years ago |
Ben Kurtovic
|
02fe3b0833
|
Improve handling of templates in strange cases.
|
12 years ago |
Ben Kurtovic
|
e79c79762f
|
Pre- and post-stop context verification, plus refactor parse_until().
|
12 years ago |
Ben Kurtovic
|
8dd7b6aada
|
Handle nested contexts correctly; parameter values; bad parse routes.
|
12 years ago |
Ben Kurtovic
|
6fefc28cba
|
Handle integers as MediaWiki does.
|
12 years ago |
Ben Kurtovic
|
69b236ee8d
|
Handle template parameter key dependents more intelligently.
|
12 years ago |
Ben Kurtovic
|
934b1ef016
|
Fixes and improvements.
|
12 years ago |
Ben Kurtovic
|
d3ea962d27
|
Starting work on token contexts.
|
12 years ago |
Ben Kurtovic
|
2209dfc78d
|
Better handling of template ends, refactor.
|
12 years ago |
Ben Kurtovic
|
32d99c3c75
|
Tokenizer now supports a very, very limited template syntax.
|
12 years ago |
Ben Kurtovic
|
17053e4701
|
Support &#Xhex; in addition to &#xhex;.
|
12 years ago |
Ben Kurtovic
|
81e5ce30af
|
Working on the framework for the tokenizer, plus some cleanup, fixes.
|
12 years ago |
Ben Kurtovic
|
4539859c55
|
Merge BuildStack into Builder.
|
12 years ago |
Ben Kurtovic
|
137b9fc68f
|
Fix some bugs; satisfy PyLint on certain inheritance things.
|
12 years ago |
Ben Kurtovic
|
8f0782f915
|
Fix some typos/bugs.
|
12 years ago |