Hi guys - do we have a simple markdown parser that is reasonably up to date? I
did a quick GitHub scan and a few popped out, but I wasn’t convinced I had
found one the “everyone” uses (albeit, everyone might be a small sample).
Ideally I don’t want to get sucked into writing another one (a proje
Hi Tim,
I was looking into this the other day (along with the potential native
implementation) and remembered this was posted in Discord:
https://github.com/PierceNg/Phoedown
It uses an existing C based markdown parsing library via FFI.
Evidently, it is quite difficult to make a Markdown parser
--- Begin Message ---
I do not know if it works on Pharo, but XTreams has a XTreams-Parsing section
that I am currently working with. The existing Wikitext grammar was my starting
point .
https://github.com/squeak-smalltalk/squeak-ci/blob/master/package-load-scripts/Xtreams.st
the existing
Thanks Eric - I did have a peek at Phoedown (as I did recall that announcement)
but as my use case is for a generic library for testing (that I could
potentially share with the wider community), I wasn’t convince that needing a
separate dependency would fly (for an own standalone project it did
: gettimothy mailto:gettimo...@zoho.com>>
> Subject: Re: [Pharo-users] Do we have a simple markdown parser?
> Date: 24 March 2020 at 18:40:42 GMT
> To: "Any question about pharo is welcome" <mailto:pharo-users@lists.pharo.org>>
> Cc: "Pharo Users Newsgrou
> On 24 Mar 2020, at 18:40, gettimothy via Pharo-users <
> pharo-users@lists.pharo.org> wrote:
>
>
> *From: *gettimothy
> *Subject: **Re: [Pharo-users] Do we have a simple markdown parser?*
> *Date: *24 March 2020 at 18:40:42 GMT
> *To: *"Any question about pha
Much depends on what you mean by "Markdown".
The current version of the CommonMark spec https://spec.commonmark.org/0.29/
comes to 124 printed pages. Mind you, some of that is background, some of it is
advice about how to parse Markdown, and a lot of it is 500 examples.
If I wanted to
process Mark
ts see if anyone else mentions something that’s a no-brainer.
>
> Tim
>
>> On 24 Mar 2020, at 18:40, gettimothy via Pharo-users
>> mailto:pharo-users@lists.pharo.org>> wrote:
>>
>>
>> From: gettimothy mailto:gettimo...@zoho.com>>
>> Subje
@Tim. I just verified that it load on a fresh P8. I am on a mac, but that
should not make any difference.
[image: image.png]
Best,
Kasper
Hey thanks - I took another fresh image and this one seemed to work, so not
sure what happened in the other image that causes that issue (I’ve seen it
before with other projects too - something seems to cause a stall, and then
things don’t seem to work …).
Anyway - thanks for putting it forward
I do not think the PP2 is used in the github parser actually. The github
parser was just a addon to the rest of the stuff, and the pillar markdown
parser used PP2.
Anyways, if you have any questions, feel free to ask.
Best,
Kasper
Hey Kasper - it looks like your GHMParser does exactly what I need, in that it
parses the markdown spec I am looking at.
One question - GHMAbstractBlock has a children property - when would you expect
that to be populated?
E.g. if the markdown was
# Header 1
Some text
## Header 2
More text
On 2020-03-24 10:51 a.m., Tim Mackinnon wrote:
Hi guys - do we have a simple markdown parser that is reasonably up to date?
What's wrong with the real markdown itself? I've used the original Markdown.pl
implementation for years same as I would any other shell script, via OSProcess
markdown: s
Hi Ramón,
I have a couple of questions. If you are using OSProcess in Pharo 8, how
are you installing it and from what repository? If I add the Squeaksource
version, I do not have the method that you are referencing.
Additionally, it would be good to see an example of this in OSSubprocess.
Using
Hi Tim,
I had the same need for a more structured access to a parsed document. I
believe this class does something to like that
https://raw.githubusercontent.com/kasperosterbye/PillarDocumentEditor/master/Pillar%20Document%20Editor/PDESection.class.st?token=AEHHCYPCF65HJLDN3RTLMAS6PWPS4
My parser
On 2020-03-26 3:24 p.m., Eric Gade wrote:
Hi Ramón,
I have a couple of questions. If you are using OSProcess in Pharo 8
I'm not, I don't try and keep up with the latest stuff, too much churn. But
I'd imagine the latest must still be able to pipe out to a command even if the
API changed a bi
On Fri, Mar 27, 2020 at 08:35:47AM -0700, Ramon Leon wrote:
> On 2020-03-26 3:24 p.m., Eric Gade wrote:
> >Hi Ram??n,
> >
> >I have a couple of questions. If you are using OSProcess in Pharo 8
>
> I'm not, I don't try and keep up with the latest stuff, too much churn.
> But I'd imagine the lates
17 matches
Mail list logo