Ben Kurtovic
|
e71e7b4ece
|
Update copyright years for 2015; fix whitespace in docs.
|
9 år sedan |
Ben Kurtovic
|
87e0079512
|
Take proper advantage of Sphinx's default domains.
|
10 år sedan |
Ben Kurtovic
|
b997e4cd71
|
Support attributes quoted with '; add required quotes in value setter.
|
10 år sedan |
Ben Kurtovic
|
08cafc0576
|
Raise ParserError for internal problems. Improve coverage. Cleanup.
|
10 år sedan |
Marcio Faustino
|
f616e6b3b7
|
Avoid custom constructor and sub-class `dict` directly instead.
Before:
$ python -m timeit -s 'from mwparserfromhell.parser.tokens import Text' 'Text(text = "abc")'
1000000 loops, best of 3: 0.91 usec per loop
After:
$ python -m timeit -s 'from mwparserfromhell.parser.tokens import Text' 'Text(text = "abc")'
1000000 loops, best of 3: 0.223 usec per loop
|
10 år sedan |
Ben Kurtovic
|
e5f17eea00
|
Update copyright notices for 2014.
|
10 år sedan |
Ben Kurtovic
|
066049b46a
|
Update email address.
|
11 år sedan |
Ben Kurtovic
|
88f4fa7c37
|
Add external link contexts; reorder stuff for consistency.
|
11 år sedan |
Ben Kurtovic
|
8fe8b1fef5
|
Implement ExternalLinks as tokens and in the builder.
|
11 år sedan |
Ben Kurtovic
|
53c26589ee
|
Some node fixes; attributes with empty values now display correctly.
|
11 år sedan |
Ben Kurtovic
|
4f52887e17
|
wiki_markup stores the markup itself instead of a bool
|
11 år sedan |
Ben Kurtovic
|
de6d5074fa
|
Tag.showtag -> Tag.wiki_markup
|
11 år sedan |
Ben Kurtovic
|
7d1a28a249
|
Support single and single-only tags like <br>.
|
11 år sedan |
Ben Kurtovic
|
cd5cc6a7d0
|
Update copyright notices for 2013.
|
11 år sedan |
Ben Kurtovic
|
3868afdc9c
|
Revert change to tokens; this is clearer.
|
12 år sedan |
Ben Kurtovic
|
aa29a8bd28
|
Wikilinks in builder; some additions; cleanup.
|
12 år sedan |
Ben Kurtovic
|
2cfb097342
|
Comment class for <!-- comments -->; implement in builder.
|
12 år sedan |
Ben Kurtovic
|
b3bfe68cd8
|
Start Argument node type, implement argument in builder (#4).
|
12 år sedan |
Ben Kurtovic
|
816207bb5a
|
Simplify docs massively.
|
12 år sedan |
Ben Kurtovic
|
1caeb2d570
|
Build the actual Sphinx documentation, plus a number of typo fixes.
|
12 år sedan |
Ben Kurtovic
|
b2b49ebd80
|
More specific docs for contexts and tokenizer.
|
12 år sedan |
Ben Kurtovic
|
e787c97712
|
Finish documenting all of the main things (#5).
|
12 år sedan |
Ben Kurtovic
|
975be475d3
|
Document Builder and contexts.
|
12 år sedan |
Ben Kurtovic
|
f21f13374e
|
Fix py2 token support.
|
12 år sedan |
Ben Kurtovic
|
391a5bd373
|
Compat for the parser itself.
|
12 år sedan |
Riamse
|
2eb76e7de0
|
Adding Python 3 support
|
12 år sedan |
Ben Kurtovic
|
e57b6bdd93
|
Support Headings in tokenizer; handle tokens backwards in builder.
* Some other fixes, additions.
|
12 år sedan |
Ben Kurtovic
|
664b6e39ec
|
_write(text=True) -> _write_text(); __eq__ for Tokens
|
12 år sedan |
Ben Kurtovic
|
278594a8cf
|
Faster parsing: split the text on sentinels instead of every letter.
|
12 år sedan |
Ben Kurtovic
|
2f4ce003b4
|
Massive speedup and refactoring.
|
12 år sedan |
Ben Kurtovic
|
17053e4701
|
Support &#Xhex; in addition to &#xhex;.
|
12 år sedan |
Ben Kurtovic
|
81e5ce30af
|
Working on the framework for the tokenizer, plus some cleanup, fixes.
|
12 år sedan |
Ben Kurtovic
|
219b9086d2
|
Finish implementing Builder for all existing Nodes; BuildStack.
|
12 år sedan |
Ben Kurtovic
|
33acb3eea3
|
Starting main parser: Parser, Tokens, Tokenizer, Builder, BuildStack.
|
12 år sedan |