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
|
b3bfe68cd8
|
Start Argument node type, implement argument in builder (#4).
|
12 年之前 |
Ben Kurtovic
|
a735efd0bc
|
Template parameters containing newlines should be invalid (closes #6)
|
12 年之前 |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
12 年之前 |
Ben Kurtovic
|
bdf5608425
|
More documentation for various things.
|
12 年之前 |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
12 年之前 |
Ben Kurtovic
|
b2b49ebd80
|
More specific docs for contexts and tokenizer.
|
12 年之前 |
Ben Kurtovic
|
e787c97712
|
Finish documenting all of the main things (#5).
|
12 年之前 |
Ben Kurtovic
|
975be475d3
|
Document Builder and contexts.
|
12 年之前 |
Ben Kurtovic
|
da3ad8ce9d
|
Document Parser.
|
12 年之前 |
Ben Kurtovic
|
f21f13374e
|
Fix py2 token support.
|
12 年之前 |
Ben Kurtovic
|
391a5bd373
|
Compat for the parser itself.
|
12 年之前 |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
12 年之前 |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
12 年之前 |
Ben Kurtovic
|
40b6480aa7
|
Split on all characters that we use.
|
12 年之前 |
Ben Kurtovic
|
664b6e39ec
|
_write(text=True) -> _write_text(); __eq__ for Tokens
|
12 年之前 |
Ben Kurtovic
|
278594a8cf
|
Faster parsing: split the text on sentinels instead of every letter.
|
12 年之前 |
Ben Kurtovic
|
aec66b0db7
|
Missed another call (2.0 seconds -> 1.5 seconds for 1,000,000 chars).
|
12 年之前 |
Ben Kurtovic
|
3fd13100da
|
Another speedup by reducing calls to _read().
|
12 年之前 |
Ben Kurtovic
|
889fd316d3
|
A rogue print statement appears!
|
12 年之前 |
Ben Kurtovic
|
31103b5891
|
_push_textbuffer() in _verify_template_name()
|
12 年之前 |
Ben Kurtovic
|
2f4ce003b4
|
Massive speedup and refactoring.
|
12 年之前 |
Ben Kurtovic
|
010bd34653
|
Support HTMLEntities.
|
12 年之前 |
Ben Kurtovic
|
02fe3b0833
|
Improve handling of templates in strange cases.
|
12 年之前 |
Ben Kurtovic
|
e79c79762f
|
Pre- and post-stop context verification, plus refactor parse_until().
|
12 年之前 |
Ben Kurtovic
|
8dd7b6aada
|
Handle nested contexts correctly; parameter values; bad parse routes.
|
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
|
d3ea962d27
|
Starting work on token contexts.
|
12 年之前 |
Ben Kurtovic
|
2209dfc78d
|
Better handling of template ends, refactor.
|
12 年之前 |
Ben Kurtovic
|
32d99c3c75
|
Tokenizer now supports a very, very limited template syntax.
|
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
|
4539859c55
|
Merge BuildStack into Builder.
|
12 年之前 |
Ben Kurtovic
|
8f0782f915
|
Fix some typos/bugs.
|
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
|
33f8924cf9
|
Implement Wikicode.get_sections(), starting SmartList.
|
12 年之前 |
Ben Kurtovic
|
900c559385
|
Move mwpfh.parser.utils to mwpfh.utils; fix import structure.
|
12 年之前 |
Ben Kurtovic
|
e88a5fd3cc
|
Quite a bit of additions, mostly to Template.
|
12 年之前 |
Ben Kurtovic
|
b77497e12a
|
Fixes, plus don't inherit from unicode.
|
12 年之前 |
Ben Kurtovic
|
e4fd6ef127
|
Updating with a more logical project structure.
|
12 年之前 |