aboutsummaryrefslogtreecommitdiff
path: root/js/bench.js
AgeCommit message (Collapse)Author
2015-01-17Renamed DocParser -> Parser.John MacFarlane
Note: library users should update their code or it will break.
2015-01-12js/bench.js: use capital letter for Showdown so eslint doesn't complain.John MacFarlane
2015-01-09Use linked list instead of arrays for AST.John MacFarlane
Use the same doubly linked node structure that cmark uses. The primary advantages of this change are (a) simplified code, especially in the renderers, and (b) elimination of the need for recursion, so we can render deeply-nested structures without a stack overflow. A node walker has also been added, for easy AST traversal. * Added js/lib/node.js for nodes. Includes a node walker. * All modules updated to use node structures. * Regularized position information into pos property. * Performance is slightly worse than before, but only marginally, and no doubt there are more optimizations that can be done.
2015-01-09js/bench.js: use npm, added markdown-it.John MacFarlane
2014-12-10More linter corrections to js code.John MacFarlane
2014-10-24More stmd -> commonmark changes.John MacFarlane
2014-10-18Use browserify to make js code more modular.John MacFarlane
* Moved js library code to `js/lib`. * `js/stmd.js` is now generated from these files using browserify. * Factored out `html5-entities.js` and `from-code-point.js` from main js parsing code (which is now `index.js`). * Moved `js/markdown` to `js/bin`.
2014-10-07Changed bench.js so it no longer requires oldtests.John MacFarlane
2014-08-13Initial commitJohn MacFarlane