Commit Graph

11 Commits

Author SHA1 Message Date
Jeremy Rand
beb063b56f Fill in all of the entities, mapping to the GS's character set (which is based on that from classic MacOS). 2021-04-22 00:56:13 -04:00
Jeremy Rand
a642513db3 Add some basic support for HTML entities. Just the copyright symbol is supported now but all characters from the extended set of the GS that exist in the HTML entities should be added. 2021-04-21 00:21:02 -04:00
Jeremy Rand
effa777037 Improve the pure text output of the converter. It now handles numbered and unnumbered lists. It adds a horizontal line for HR. Spacing is better between blocks. It no longer inserts a leading blank line at the top of the document.
I have extended the execution rule to put the resulting text file onto a disk image and launch an emulator so I can see the text file on the target machine.  This should make iteration easier.

Even though I am asking to print carriage returns in the output, I am getting line feeds.  Now sure what is doing the translation.  It could be the ORCA standard library (not likely) or Golden Gate (maybe).  I should next change to direct use of GS/OS for the writes and avoid the ORCA library anyway.
2021-04-21 00:00:01 -04:00
Jeremy Rand
04233b2621 Turn the old output into the debug output and parse some arguments to enable/disable that debug output. Open the output file and send some raw output to it. The current output isn't complete yet but it is a step towards the right output. 2021-04-19 00:05:45 -04:00
Jeremy Rand
40a8761f75 Review all uses of int and unsigned and promote them to int32_t or uint32_t as required. 2021-04-16 00:26:25 -04:00
Jeremy Rand
cfc83f702a Change the output format to be more readable in order to understand the output of the parser, I think I will turn this output into optional debug output at some point but it is useful for now in development. 2021-04-15 00:20:19 -04:00
Jeremy Rand
b641d4a508 Add a test markdown file. Parse the arguments in main to get the input and output file. Read the input file and pass it to the parser. The test markdown file is successfully parsed! 2021-04-14 23:12:04 -04:00
Jeremy Rand
bd1424169d Fix copyright in the file header. 2021-04-14 00:01:05 -04:00
Jeremy Rand
361cdd941e Add a readme and license file. 2021-04-13 23:53:20 -04:00
Jeremy Rand
727f7494c4 Initial commit of a "working-ish" port of md4c for the ORCA shell. Lots of todos to follow up on but it is a good start. 2021-04-13 23:40:58 -04:00
Jeremy Rand
ad2a57f4d4 Initial Commit 2021-04-13 15:10:02 -04:00