Ben Kurtovic
|
ef0ed63e50
|
Properly handle newlines in template names with named parameters.
|
11 年前 |
Ben Kurtovic
|
353122105d
|
Fix tokenizer so we don't destroy our textbuf writing an empty stack
* Also fix a bug in Argument
|
11 年前 |
Ben Kurtovic
|
814ce9f290
|
Fix an assumption regarding templates mistaken as arguments.
|
11 年前 |
Ben Kurtovic
|
70cf46ef0d
|
Simplify / refactor.
|
11 年前 |
Ben Kurtovic
|
6b84a87c7d
|
Far more robust parsing of templates and template arguments.
|
11 年前 |
Ben Kurtovic
|
c01f78aee1
|
Implement arguments in tokenizer - preliminary results are promising.
|
11 年前 |
Ben Kurtovic
|
a735efd0bc
|
Template parameters containing newlines should be invalid (closes #6)
|
11 年前 |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
11 年前 |
Ben Kurtovic
|
bdf5608425
|
More documentation for various things.
|
11 年前 |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
11 年前 |
Ben Kurtovic
|
e787c97712
|
Finish documenting all of the main things (#5).
|
11 年前 |
Ben Kurtovic
|
391a5bd373
|
Compat for the parser itself.
|
11 年前 |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
11 年前 |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
11 年前 |
Ben Kurtovic
|
40b6480aa7
|
Split on all characters that we use.
|
11 年前 |
Ben Kurtovic
|
664b6e39ec
|
_write(text=True) -> _write_text(); __eq__ for Tokens
|
11 年前 |
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
|
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
|
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
|
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
|
fca7e9dd80
|
Implement Heading, HTMLTag, HTMLTagAttribute, plus some fixes.
|
12 年前 |
Ben Kurtovic
|
e4fd6ef127
|
Updating with a more logical project structure.
|
12 年前 |
Ben Kurtovic
|
4cb3506820
|
Update copyright notice; some additions.
|
12 年前 |
Ben Kurtovic
|
9d1e77000c
|
A bunch of updates from the past weeks.
|
12 年前 |
Ben Kurtovic
|
a880ff8bf2
|
mwtemplateparserfromhell -> mwparserfromhell; some additions; still incomplete
|
12 年前 |
Ben Kurtovic
|
ce8adf4b2e
|
Initial commit
|
12 年前 |