Name | PennKey |
---|---|
Neil Shweky | nshweky |
Jing Wang | jing17 |
/
├── Main (the module redirects the main to Server.main)
├── MarkDownParse (the module provides functions that parse input to MarkDown elements)
├── HtmlConvert (the module provides functions that convert Markdown elements to HTML elements)
├── Server (the module runs a online MarkDown parser server)
├── FileParse (the module provides a file to file parse function)
├── Tests (the module contains tests for MarkDownParse)
├── HtmlConvertTest (the module contains tests for HtmlConvert)
├── CMarkTests (the module runs tests from the CommonMark.org)
└── tests.json (the downloaded tests from CommonMark.org)
There are other test input/output files, such as test.md, testout.html.
To understand the code, it is suggested to read the code with the order listed above.
- lucid: an HTML package provide the ability to build and output html elements
- HUnit: test pacakge
- containers: the data structure package, we used the set structure from it
- parsec: the parser package
- aeson: a json manipulation package
- text: a text type package
- scotty: web framework package
- wai-cors: cross-origin support package