Ben Kurtovic
|
2f4ce003b4
|
Massive speedup and refactoring.
|
há 12 anos |
Ben Kurtovic
|
010bd34653
|
Support HTMLEntities.
|
há 12 anos |
Ben Kurtovic
|
02fe3b0833
|
Improve handling of templates in strange cases.
|
há 12 anos |
Ben Kurtovic
|
e79c79762f
|
Pre- and post-stop context verification, plus refactor parse_until().
|
há 12 anos |
Ben Kurtovic
|
8dd7b6aada
|
Handle nested contexts correctly; parameter values; bad parse routes.
|
há 12 anos |
Ben Kurtovic
|
6fefc28cba
|
Handle integers as MediaWiki does.
|
há 12 anos |
Ben Kurtovic
|
69b236ee8d
|
Handle template parameter key dependents more intelligently.
|
há 12 anos |
Ben Kurtovic
|
934b1ef016
|
Fixes and improvements.
|
há 12 anos |
Ben Kurtovic
|
d3ea962d27
|
Starting work on token contexts.
|
há 12 anos |
Ben Kurtovic
|
2209dfc78d
|
Better handling of template ends, refactor.
|
há 12 anos |
Ben Kurtovic
|
32d99c3c75
|
Tokenizer now supports a very, very limited template syntax.
|
há 12 anos |
Ben Kurtovic
|
17053e4701
|
Support &#Xhex; in addition to &#xhex;.
|
há 12 anos |
Ben Kurtovic
|
81e5ce30af
|
Working on the framework for the tokenizer, plus some cleanup, fixes.
|
há 12 anos |
Ben Kurtovic
|
4539859c55
|
Merge BuildStack into Builder.
|
há 12 anos |
Ben Kurtovic
|
8f0782f915
|
Fix some typos/bugs.
|
há 12 anos |
Ben Kurtovic
|
219b9086d2
|
Finish implementing Builder for all existing Nodes; BuildStack.
|
há 12 anos |
Ben Kurtovic
|
33acb3eea3
|
Starting main parser: Parser, Tokens, Tokenizer, Builder, BuildStack.
|
há 12 anos |
Ben Kurtovic
|
227ac924ee
|
Finish implementing all of SmartList.
|
há 12 anos |
Ben Kurtovic
|
cf299c523d
|
Implement the rest of _ListProxy.
|
há 12 anos |
Ben Kurtovic
|
3633f31633
|
Relaive imports because they are awesome; more stuff in SmartList.
|
há 12 anos |
Ben Kurtovic
|
b5fb7e18f2
|
Implement ListProxy.{count,index,extend,insert,reverse,sort}
|
há 12 anos |
Ben Kurtovic
|
13066ff189
|
Implement a ton more in SmartList.
|
há 12 anos |
Ben Kurtovic
|
713a3c9944
|
Implement SmartList.setslice, ListProxy.{repr,setitem,setslice}
|
há 12 anos |
Ben Kurtovic
|
33f8924cf9
|
Implement Wikicode.get_sections(), starting SmartList.
|
há 12 anos |
Ben Kurtovic
|
691b143618
|
Filter functions for Tags
|
há 12 anos |
Ben Kurtovic
|
9355f22d22
|
Implement interface for __showtree__.
Some cleanup and import fixes.
|
há 12 anos |
Ben Kurtovic
|
c3f53f2e84
|
Minor fixes.
|
há 12 anos |
Ben Kurtovic
|
c3ee6c919d
|
Implementing __iternodes__ protocol.
|
há 12 anos |
Ben Kurtovic
|
69cfbd975f
|
Fix args.
|
há 12 anos |
Ben Kurtovic
|
253c812fb3
|
Implement __strip__ API for Wikicode.
|
há 12 anos |
Ben Kurtovic
|
f47f179dfd
|
Add a bunch of tags, plus a translator for tag -> wikicode.
|
há 12 anos |
Ben Kurtovic
|
fca7e9dd80
|
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
|
há 12 anos |
Ben Kurtovic
|
034ac99ebe
|
Clarify flags.
|
há 12 anos |
Ben Kurtovic
|
94d5fc0734
|
Determine spacing conventions when adding a parameter.
|
há 12 anos |
Ben Kurtovic
|
064b258141
|
Inherit StringMixIn method documentation from unicode.
Also reorder imports in nodes.__init__ to fix a minor bug.
|
há 12 anos |
Ben Kurtovic
|
4b5b8d305f
|
Implement all methods of unicode.
|
há 12 anos |
Ben Kurtovic
|
16a58a8c3b
|
Implement _blank_param_value().
|
há 12 anos |
Ben Kurtovic
|
dde883725b
|
Solve a potential numbering issue when removing a parameter.
|
há 12 anos |
Ben Kurtovic
|
f1f3fb0121
|
Determine whether an entity is named a bit more intelligently.
|
há 12 anos |
Ben Kurtovic
|
43fc28e8e8
|
Implement Python-build-agnostic version of unichr().
|
há 12 anos |
Ben Kurtovic
|
3146a2007f
|
strip_code() takes a collapse argument to remove extraneous newlines.
|
há 12 anos |
Ben Kurtovic
|
7fe4509e36
|
ignore_empty for Template.has_param()
|
há 12 anos |
Ben Kurtovic
|
1e314ee1bd
|
Updates for Template and others.
|
há 12 anos |
Ben Kurtovic
|
d9c4b4f765
|
Rename some things, fixes, strip()
|
há 12 anos |
Ben Kurtovic
|
900c559385
|
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
|
há 12 anos |
Ben Kurtovic
|
f7289b340a
|
Ooh, we can do this!
|
há 12 anos |
Ben Kurtovic
|
e88a5fd3cc
|
Quite a bit of additions, mostly to Template.
|
há 12 anos |
Ben Kurtovic
|
b77497e12a
|
Fixes, plus don't inherit from unicode.
|
há 12 anos |
Ben Kurtovic
|
d3a1ce0814
|
Fallback case in _get_tree() for the obvious ones.
|
há 12 anos |
Ben Kurtovic
|
c47cbb42e9
|
HTMLEntity; strip_code(); iterators for _nodify(); unicode in StringMixIn's MRO
|
há 12 anos |