mediawiki-extensions-Visual.../modules/parser
Gabriel Wicke 3be4992782 'Obama finally expands' ;) Misc fixes and documentation updates
* [[:en:Barack Obama]] can now be expanded in 77 seconds using 330MB RAM,
  while it would prevously run out of RAM after ~30 minutes. Wohoooo!
  The token transform framework rework really paid off.
* 303 parser tests are passing in the new record time of 5.5 seconds. Two more
  tests are passing since these tests expect the day of the week to be
  Thursday.  Won't be the case tomorrow.

Change-Id: I56e850838476b546df10c6a239c8c9e29a1a3136
2012-04-26 18:18:08 +02:00
..
html5 Land big TokenTransformDispatcher and eventization refactoring. 2012-01-03 18:44:31 +00:00
ext.Cite.js Token representation clean-up. Now all tokens are differentiated using 2012-03-07 20:06:54 +00:00
ext.cite.taghook.ref.js Moving parser stuff back into the modules folder (oops) 2011-11-02 21:45:57 +00:00
ext.core.AttributeExpander.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
ext.core.BehaviorSwitchHandler.js "magic words" are tokenized and used to set parser.environment flags 2012-04-04 11:25:29 -07:00
ext.core.LinkHandler.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
ext.core.NoIncludeOnly.js Collected tweaks 2012-04-16 15:47:03 +02:00
ext.core.ParserFunctions.js 'Obama finally expands' ;) Misc fixes and documentation updates 2012-04-26 18:18:08 +02:00
ext.core.PostExpandParagraphHandler.js Match the empty string as whitespace too 2012-04-16 14:48:39 +02:00
ext.core.QuoteTransformer.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
ext.core.Sanitizer.js Delay some token duplication until actual mutation happens 2012-04-18 17:53:04 +02:00
ext.core.TemplateHandler.js 'Obama finally expands' ;) Misc fixes and documentation updates 2012-04-26 18:18:08 +02:00
ext.Util.js Nominate more HTML5 sectioning and heading elements for block-level treatment 2012-04-11 12:53:49 +02:00
ext.util.TokenCollector.js Token stream transform improvements 2012-04-12 15:42:09 +02:00
mediawiki.DOMConverter.js Replace console.log with console.warn in all debug statements 2012-02-14 20:56:14 +00:00
mediawiki.DOMPostProcessor.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.HTML5TreeBuilder.node.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.LinearModelConverter.js Add HTML DOM -> linear model converter 2012-03-29 12:47:14 -07:00
mediawiki.parser.defines.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.parser.environment.js Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
mediawiki.parser.js Rename text/wiki and tokens/wiki to text/x-mediawiki and similar 2012-04-25 20:19:43 +02:00
mediawiki.Title.js Add basic thumb rendering support 2012-04-09 23:04:26 +02:00
mediawiki.tokenizer.peg.js 'Obama finally expands' ;) Misc fixes and documentation updates 2012-04-26 18:18:08 +02:00
mediawiki.TokenTransformManager.js 'Obama finally expands' ;) Misc fixes and documentation updates 2012-04-26 18:18:08 +02:00
package.json Biggish token transform system refactoring 2012-04-25 16:51:36 +02:00
parse.js Rename text/wiki and tokens/wiki to text/x-mediawiki and similar 2012-04-25 20:19:43 +02:00
pegTokenizer.pegjs.txt 'Obama finally expands' ;) Misc fixes and documentation updates 2012-04-26 18:18:08 +02:00
README.txt As much as I have loved writing Makefiles... I've replaced its functionality with package.json, mostly so we can avoid non-node dependencies. This is one of the recommended practices. We should consider moving tests/parser into modules/parser/tests, other node projects keep all module code in one directory. 2012-04-04 11:02:58 -07:00

A combined Mediawiki and html parser in JavaScript running on node.js. Please
see (https://www.mediawiki.org/wiki/Future/Parser_development) for an overview
of the current implementation, and instructions on running the tests.

You might need to set the NODE_PATH environment variable,
  export NODE_PATH="node_modules"

Download the dependencies:
  npm install

Run tests:
  npm test