Commit Graph

11 Commits

Author SHA1 Message Date
Jeremy Rand
9e8e470ed9 Using the latest version of GoldenGate, the teachRez script workaround is no longer required. The md2teach exec works as well now under GoldenGate as it does under GNO/ORCA (which hopefully means it works well, TBD). 2021-05-11 23:35:26 -04:00
Jeremy Rand
c361a9c311 Add a few files for the resources of a babel fish translator. Code to come. 2021-05-11 00:14:23 -04:00
Jeremy Rand
e54c22fdda Add more to the makefiles to support building both the shell command and the babelfish translator which is the next step in supporting markdown. 2021-05-06 23:43:31 -04:00
Jeremy Rand
9e3562dd5f Implement a workaround for writing resources. Write the resources I want to a .rez file and use a script in the build itself to turn that into resources and attach it to the output file. This seems to result in a styled teach file for my test input that loads and looks pretty close to right. 2021-04-29 00:24:27 -04:00
Jeremy Rand
6f5cefe417 Split out the work in progress on styling the text into its own file. 2021-04-24 16:25:32 -04:00
Jeremy Rand
59913db1ff Cleanup the implementation and split things into separate files a bit. 2021-04-24 16:15:43 -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
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
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