Commit Graph

107 Commits (usingMegaparsec)
 

Author SHA1 Message Date
Aadhavan Srinivasan b8ba27f240 Strip newlines when comparing in test 4 days ago
Aadhavan Srinivasan bb08b40512 Replaced nested bold with asterisks, with asterisks and underscores 4 days ago
Aadhavan Srinivasan 93548a4533 Never mind, doesn't seem to work well 4 days ago
Aadhavan Srinivasan 160cb0edeb Trying to get nested bold and italic to work 4 days ago
Aadhavan Srinivasan 2893fa25e6 Include new packages 4 days ago
Aadhavan Srinivasan 324e5da82d Use new definition for lefmostLongestParse 4 days ago
Aadhavan Srinivasan 05e5548aa9 Huge rewrite - use megaparsec instead of readP 4 days ago
Aadhavan Srinivasan 1915628a2b Used 'in-order' parsing for headers, instead of leftmostLongestParse 2 weeks ago
Aadhavan Srinivasan 1d9ac86a2a Implementation and test for horizontal rule 2 weeks ago
Aadhavan Srinivasan 0320402957 Fixed how trailing newlines are parsed 2 weeks ago
Aadhavan Srinivasan 8696a185a7 Rewrote readLines function to be more concise 2 weeks ago
Aadhavan Srinivasan da38ac226f Added figure implementation and tests 2 weeks ago
Aadhavan Srinivasan 1fcce32ef6 Updated to read from stdin/file 2 weeks ago
Aadhavan Srinivasan e50081614a Removed section from cabal file 2 weeks ago
Aadhavan Srinivasan b98a8cc44f Added image tests 2 weeks ago
Aadhavan Srinivasan 90c7a585d2 Added image parser 2 weeks ago
Aadhavan Srinivasan 4a15330874 Updated showing of image 2 weeks ago
Aadhavan Srinivasan c14112d3e4 Updated special and escapable characters 2 weeks ago
Aadhavan Srinivasan ed7d2c1ef1 Added code parser to list line parser list 3 weeks ago
Aadhavan Srinivasan eb20f154a4 Removed unused function 3 weeks ago
Aadhavan Srinivasan 172985131b Fixed HTML rendering for horizontal rule 3 weeks ago
Aadhavan Srinivasan 3781e67ab1 Created a separate list of escapable chars 3 weeks ago
Aadhavan Srinivasan f2d54edd3f Implemented inline code parsing 3 weeks ago
Aadhavan Srinivasan 5393dc4eb9 Added code tests 3 weeks ago
Aadhavan Srinivasan e051c87f08 Factor list line common parsing into a separate function; refactored
OList and UList line parsing to us it
3 weeks ago
Aadhavan Srinivasan 9b1c51897c A nested list can be ordered or unordered 3 weeks ago
Aadhavan Srinivasan 2a3dddc7b0 Rename function 3 weeks ago
Aadhavan Srinivasan a8793b5adb Remove obsolete comments 3 weeks ago
Aadhavan Srinivasan eecec764ad A list can contain a blockquote as well. 3 weeks ago
Aadhavan Srinivasan cdca6ea95e A list item doesn't need to have a nested list item parser, because the
line item parser handles the nested list.
3 weeks ago
Aadhavan Srinivasan 540b5430e5 Use list of document parsers in parseDocument 3 weeks ago
Aadhavan Srinivasan 00dfba81eb Created a list of document parsers; implemented ordered list parsing. 3 weeks ago
Aadhavan Srinivasan 39152c0034 Factor out common code for UList and OList parsing into a separate
function. Refactored UList function; wrote OList function.
3 weeks ago
Aadhavan Srinivasan 41b35be7c9 Rename function 3 weeks ago
Aadhavan Srinivasan d2c8565f62 Import Data.Char for isDigit 3 weeks ago
Aadhavan Srinivasan 62eeef2abb Removed unused functions 3 weeks ago
Aadhavan Srinivasan 9c6634cfec Added ordered list tests 3 weeks ago
Aadhavan Srinivasan 2a5a68b1de Fixed test name 3 weeks ago
Aadhavan Srinivasan f8e1a98bdf Remove obsolete comment 3 weeks ago
Aadhavan Srinivasan 05433c31f1 Remove unused functions 3 weeks ago
Aadhavan Srinivasan 5c871f2b25 Removed test file 3 weeks ago
Aadhavan Srinivasan 5273c99e6e Added unordered list tests and integration tests; added strikethrough
tests to test list
3 weeks ago
Aadhavan Srinivasan 50888c9c3d Added bold and strikethrough tests 3 weeks ago
Aadhavan Srinivasan 45115c765c An unordered list must end in a blank line. 3 weeks ago
Aadhavan Srinivasan 5b0d42fd2d Use the in-order parsing approach instead of the post-order one. 3 weeks ago
Aadhavan Srinivasan 2a585d00f2 Enforce at least one space between list indicator and list text. 3 weeks ago
Aadhavan Srinivasan 11a3b14cb1 Define a parser for list line tokens, update line token parser 3 weeks ago
Aadhavan Srinivasan 58d3142855 Update comment 3 weeks ago
Aadhavan Srinivasan 0fb651fffc Add parseUnit instead of parseString to lineParsers 3 weeks ago
Aadhavan Srinivasan bc05dede06 Create a list of parsers that are used for list line items. 3 weeks ago