Markdown parser

Posted by Jens Dahlin on 12-Jan-2018 03:51

Anybody done a markdown parser (https://en.wikipedia.org/wiki/Markdown) for ABL? If so: care to share? If not: I might do one myself but if somebody already invented the wheel...

All Replies

Posted by bronco on 12-Jan-2018 07:31

Why waste any time? I would use node.js and the markdown package (www.npmjs.com/.../markdown). Just spawn node from OE and there you go.

Posted by Patrick Tingen on 12-Jan-2018 15:33

"Just because you can" would be enough reason for me ;)

Posted by Jens Dahlin on 15-Jan-2018 01:50

I'd rather not add another technical echosystem to solve a minor issue like this.

Posted by marian.edu on 15-Jan-2018 02:46

What exactly are you trying to achieve? Actually parse the document structure as a tree from OE? There are plenty of parsers for .net or plain c that you might be able to use, I would not start implementing a parser in OE using string manipulation routines available in 4GL :(



Marian Edu

Acorn IT 
+40 740 036 212

Posted by Jens Dahlin on 16-Jan-2018 08:13

Goal would be to output formatted html via Webspeed. I can always fall back to plain old client side javascript for this as well.

This thread is closed