Ben Kurtovic
|
21d33e1802
|
Adding Wikilink class.
|
11 лет назад |
Ben Kurtovic
|
bd132ad249
|
Bugfix.
|
11 лет назад |
Ben Kurtovic
|
65862befdc
|
Support comments in tokenizer.
|
11 лет назад |
Ben Kurtovic
|
2cfb097342
|
Comment class for <!-- comments -->; implement in builder.
|
11 лет назад |
Ben Kurtovic
|
353122105d
|
Fix tokenizer so we don't destroy our textbuf writing an empty stack
* Also fix a bug in Argument
|
12 лет назад |
Ben Kurtovic
|
6b84a87c7d
|
Far more robust parsing of templates and template arguments.
|
12 лет назад |
Ben Kurtovic
|
c01f78aee1
|
Implement arguments in tokenizer - preliminary results are promising.
|
12 лет назад |
Ben Kurtovic
|
2e44343dbc
|
Implement __iternodes__, __strip__, and __showtree__ for Argument.
|
12 лет назад |
Ben Kurtovic
|
b3bfe68cd8
|
Start Argument node type, implement argument in builder (#4).
|
12 лет назад |
Ben Kurtovic
|
38b664f8c5
|
Add missing setters for some nodes and extras (#8)
|
12 лет назад |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
12 лет назад |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
12 лет назад |
Ben Kurtovic
|
b0fbe5dc8e
|
Document Tag.
|
12 лет назад |
Ben Kurtovic
|
b0418189d6
|
Document all of Template, plus some other fixes.
|
12 лет назад |
Ben Kurtovic
|
0d224e1a63
|
Document mwparserfromhell.nodes, Node, Heading, and HTMLEntity.
|
12 лет назад |
Ben Kurtovic
|
aeb214acb5
|
Document compat, nodes.extras, Attribute, Parameter
|
12 лет назад |
Ben Kurtovic
|
90b18e3abc
|
Finish updating all to compat except for the parser.
|
12 лет назад |
Riamse
|
aa4b45c1bb
|
Forgot the extras folder
|
12 лет назад |
Ben Kurtovic
|
e6fa7b2b2d
|
Support changing a template's name, plus a couple of typos and docs.
|
12 лет назад |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
12 лет назад |
Ben Kurtovic
|
59a25818b9
|
Updating documentation.
|
12 лет назад |
Ben Kurtovic
|
fc66ce0654
|
Update remove() for when a templates has the same key multiple times.
|
12 лет назад |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
12 лет назад |
Ben Kurtovic
|
6fefc28cba
|
Handle integers as MediaWiki does.
|
12 лет назад |
Ben Kurtovic
|
69b236ee8d
|
Handle template parameter key dependents more intelligently.
|
12 лет назад |
Ben Kurtovic
|
934b1ef016
|
Fixes and improvements.
|
12 лет назад |
Ben Kurtovic
|
17053e4701
|
Support &#Xhex; in addition to &#xhex;.
|
12 лет назад |
Ben Kurtovic
|
81e5ce30af
|
Working on the framework for the tokenizer, plus some cleanup, fixes.
|
12 лет назад |
Ben Kurtovic
|
137b9fc68f
|
Fix some bugs; satisfy PyLint on certain inheritance things.
|
12 лет назад |
Ben Kurtovic
|
219b9086d2
|
Finish implementing Builder for all existing Nodes; BuildStack.
|
12 лет назад |
Ben Kurtovic
|
33acb3eea3
|
Starting main parser: Parser, Tokens, Tokenizer, Builder, BuildStack.
|
12 лет назад |
Ben Kurtovic
|
3633f31633
|
Relaive imports because they are awesome; more stuff in SmartList.
|
12 лет назад |
Ben Kurtovic
|
9355f22d22
|
Implement interface for __showtree__.
Some cleanup and import fixes.
|
12 лет назад |
Ben Kurtovic
|
c3f53f2e84
|
Minor fixes.
|
12 лет назад |
Ben Kurtovic
|
c3ee6c919d
|
Implementing __iternodes__ protocol.
|
12 лет назад |
Ben Kurtovic
|
69cfbd975f
|
Fix args.
|
12 лет назад |
Ben Kurtovic
|
253c812fb3
|
Implement __strip__ API for Wikicode.
|
12 лет назад |
Ben Kurtovic
|
f47f179dfd
|
Add a bunch of tags, plus a translator for tag -> wikicode.
|
12 лет назад |
Ben Kurtovic
|
fca7e9dd80
|
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
|
12 лет назад |
Ben Kurtovic
|
034ac99ebe
|
Clarify flags.
|
12 лет назад |
Ben Kurtovic
|
94d5fc0734
|
Determine spacing conventions when adding a parameter.
|
12 лет назад |
Ben Kurtovic
|
064b258141
|
Inherit StringMixIn method documentation from unicode.
Also reorder imports in nodes.__init__ to fix a minor bug.
|
12 лет назад |
Ben Kurtovic
|
16a58a8c3b
|
Implement _blank_param_value().
|
12 лет назад |
Ben Kurtovic
|
dde883725b
|
Solve a potential numbering issue when removing a parameter.
|
12 лет назад |
Ben Kurtovic
|
f1f3fb0121
|
Determine whether an entity is named a bit more intelligently.
|
12 лет назад |
Ben Kurtovic
|
43fc28e8e8
|
Implement Python-build-agnostic version of unichr().
|
12 лет назад |
Ben Kurtovic
|
7fe4509e36
|
ignore_empty for Template.has_param()
|
12 лет назад |
Ben Kurtovic
|
1e314ee1bd
|
Updates for Template and others.
|
12 лет назад |
Ben Kurtovic
|
d9c4b4f765
|
Rename some things, fixes, strip()
|
12 лет назад |
Ben Kurtovic
|
900c559385
|
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
|
12 лет назад |