99 Commits (master)
 

Author SHA1 Message Date
Aadhavan Srinivasan 8c220cc800 A document can consist of unordered lists as well 3 weeks ago
Aadhavan Srinivasan ee453c0259 Fixed blockquote parser; implemented unordered list parser and relevant
sub-parsers
3 weeks ago
Aadhavan Srinivasan c90d23617a A blockquote must have a list of tokens 3 weeks ago
Aadhavan Srinivasan c574699a8a Added an import 3 weeks ago
Aadhavan Srinivasan f55e160e25 Added tests for unordered lists 3 weeks ago
Aadhavan Srinivasan dddcca0185 Wrote a lot of helper functions - most importantly greedyParse 3 weeks ago
Aadhavan Srinivasan e7d94f225a Updated show definitions for some tokens; add HTML syntax 3 weeks ago
Aadhavan Srinivasan e8eb22f3ae Added pragmas to suppress LSP warnings; removed a random line that was
added by the LSP
3 weeks ago
Aadhavan Srinivasan ef1809970b Greatly shortened parseQuotedLine, because I can just use greedyParse
instead of using manyTill
3 weeks ago
Aadhavan Srinivasan 549504d650 Consume whitespace between greater-than sign and text in a blockquote
line
3 weeks ago
Aadhavan Srinivasan 4f23592aeb Add relevant modules to other-modules section, to get rid of cabal's
warnings
3 weeks ago
Aadhavan Srinivasan b00d79b9aa Renamed Test.hs to MdToHtmlTest.hs so that the filename matches the
module name; updated blockquote tests; started working on ordered list
tests
3 weeks ago
Aadhavan Srinivasan 3cd9f24935 Wrote helper functions for parseBlockquote, to parse a quoted line and
multiple quoted lines.
3 weeks ago
Aadhavan Srinivasan a60b3754e4 Rewrite leftmostLongest and leftmostLongestParse so that they don't rely
on 'head' which is a partial function
3 weeks ago
Aadhavan Srinivasan 3330185393 Make MdToken a Semigroup and a Monoid, so that I can use 'mempty' for
it.
3 weeks ago
Aadhavan Srinivasan 1df7f64aec Started working on blockquote parser 4 weeks ago
Aadhavan Srinivasan bfd627c763 Added blockquote tests 4 weeks ago
Aadhavan Srinivasan 81671727b2 Added more parsers for escaped characters and links. 4 weeks ago
Aadhavan Srinivasan 1b821c4315 Declare separate variable for escaped characters. 4 weeks ago
Aadhavan Srinivasan 51728dd3a1 Added double-quotes to link URL when printing link. 4 weeks ago
Aadhavan Srinivasan 56e1514213 Added more tests 4 weeks ago
Aadhavan Srinivasan e7ea7b6ba6 Removed unecessary case statement 4 weeks ago
Aadhavan Srinivasan ef132791a1 Applied lots of hints, mostly redundant brackets 4 weeks ago
Aadhavan Srinivasan ca0d09dfab Added another test 4 weeks ago
Aadhavan Srinivasan d1b0ce6b10 Move parseHeader up in the chain - parseDocument can either parse
headers or a paragraph
4 weeks ago
Aadhavan Srinivasan b6f51c33c7 Parse until EOF instead of adding a manual check. 4 weeks ago
Aadhavan Srinivasan 9ffbb7365c Removed commented line 4 weeks ago
Aadhavan Srinivasan 71aacdd26a Removed unecessary parentheses 4 weeks ago
Aadhavan Srinivasan 873795e267 Removed unecessary function 4 weeks ago
Aadhavan Srinivasan 9a128407cc Fixed newline bug; working on fixing the last failing test 4 weeks ago
Aadhavan Srinivasan a18d03e4ac Working on parsing single newlines 4 weeks ago
Aadhavan Srinivasan f916267d29 Changed parsing of header to consume optional newline; removed debug statements 4 weeks ago
Aadhavan Srinivasan 9555f55575 Fixed typo in test 4 weeks ago
Aadhavan Srinivasan 7fdc1bcbf1 Trying to fix a bug where a header with a newline isn't recognized as a header 4 weeks ago
Aadhavan Srinivasan d771460bb1 Skip spaces at beginning of line; parse a line and header separately; add a Document data constructor for MdToken (consists of the entire document 4 weeks ago
Aadhavan Srinivasan 26adcbbc69 Added more tests; fixed some existing tests by adding convenience functions 4 weeks ago
Aadhavan Srinivasan 2b771256a1 Only get the first parse result, makes things easier to see 4 weeks ago
Aadhavan Srinivasan 231673b6d6 Rename file name to match module name 1 month ago
Aadhavan Srinivasan e51d16a39b Added more tests 1 month ago
Aadhavan Srinivasan 2273448208 Updated .gitignore 1 month ago
Aadhavan Srinivasan eb40ee430f Removed 'dist-newstyle' from being tracked; updated .gitignore 1 month ago
Aadhavan Srinivasan 66718845d8 Updated cabal file with instructions on split modules 1 month ago
Aadhavan Srinivasan d63cd98288 Split package into library module 'src' and executable 'app' 1 month ago
Aadhavan Srinivasan 626eb71097 Implement LeftmostLongest, renamed functions, failed parsing works now (see main function for example) 1 month ago
Aadhavan Srinivasan cbdcfcfea7 More work, I guess 1 month ago
Aadhavan Srinivasan ade48bd64e Proof of concept for leftmostLongest function 1 month ago
Aadhavan Srinivasan 8e07a5ed0e Trying to get recursive parsing working better 1 month ago
Aadhavan Srinivasan 1a838e343e Got recursive parsing working 1 month ago
Aadhavan Srinivasan bc43f75a28 First commit 1 month ago