mediawiki-extensions-Visual.../tests/parser
Gabriel Wicke ea87e7aaee Convert PEG parser to tokenizer for back-end HTML parser. Now emits a list of
tokens, which for now is still completely built before parsing can proceed.
For each top-level block, the source start/end positions are added as
attributes to the top-most tokens. No tracking of wiki vs. html syntax yet.
2011-11-17 15:26:02 +00:00
..
dumpReader.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
expansionTest.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
parserTests.js Convert PEG parser to tokenizer for back-end HTML parser. Now emits a list of 2011-11-17 15:26:02 +00:00
parserTests.pegjs First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
README First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
roundtrip-test.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
roundtrip.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
tests.html First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
wikia-rte-roundtrip-tests.xml First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00
worker.js First combination of WikiDom serializers with existing parser in 2011-11-03 13:55:48 +00:00

Work in progress. :)

Batch-testing tools loading the parsing code into node.js, and going through a MediaWiki XML export dump to run round-trip tests over it. Currently not much will succeed as there's bad handling of newlines. ;)

Need npm modules:
* jquery
* diff
* libxmljs (requires native compilation)
* webworker