Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2015-07-07

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:08 jeffreykegler joined #marpa
01:09 jeffreykegler My inquiries re markdown were prompted by something that's come up in the work with Kollos
01:10 jeffreykegler Libmarpa is pretty well-packaged, but folks using Marpa have come to expect the higher layer stuff -- precedenced rules, symbol names, etc., which alas is not well packaged
01:11 jeffreykegler The part of Kollos I am writing -- kind of its middle -- contains all this logic, stream-lined and with new features.
01:12 jeffreykegler Those doing Marpa knock-offs will be interested in this, but to understand Marpa code you really need documentation --
01:12 jeffreykegler they are some things where you can just read the code and infer the ideas behind it, perhaps with a few comments to help ...
01:12 jeffreykegler Marpa is not one of those things.
01:13 jeffreykegler So I need at least a "poor man's version" of literate programming.
01:14 jeffreykegler CWeb is just too hard, especially in terms of its limits, one of which is that it does not natively handle Lua.
01:15 jeffreykegler And I am coming around to the theory that documentation systems should be Markdown-based -- markdown makes it easy to just start writing.
01:16 jeffreykegler So I'm going to cobble together a simple utility (not Marpa-powered) to pull Lua out of Markdown displays.
01:16 jeffreykegler It'd been nice to have something which understands both Markdown and Lua syntax, but I don't want to get side-tracked.
01:17 jeffreykegler Anyway, folks following the Kollos archive are likely to see, in days ahead, the source converted into xyz.lua.md files ...
01:17 jeffreykegler Markdown files which can be processed into Lua.
03:20 ronsavage joined #marpa
03:21 ronsavage Re MarpaX::Languages::Lua::Parser. It depends on Data::RenderAsTree V 1.02. This version runs all tests perfectly on my machine, but CPAN testers report errors:
03:21 ronsavage http://www.cpantesters.org/cpan/report/f4b06b54-23e5-11e5-a85a-e28fcaadd3a7
03:21 ronsavage I'll investigate soon.
04:39 koo7 i need some enlightenment regarding the dark art of parsing, trying to use http://www.benhanson.net/lexertl.html , i dont know how to ask it for an alternative match
04:40 koo7 is this something that a lexer lib should do or not?
04:42 koo7 right now im trying to implement http://www.w3.org/TeamSubmission/n3/#grammar
10:06 koo7 ...is such a grammar supposed to be lexed with a lexer that only reports first alternative?  did the authors simply expect some hackery?
15:44 rns joined #marpa
15:48 lucs joined #marpa
15:56 rns jeffreykegler: re http://irclog.perlgeek.de/marpa/2015-07-07#i_10858192 -- interesting idea, one thought -- cmark [1] can produce xml from markdown, and that xml can then be post-processed as needed, for example, for named code blocks [1], which can even be referred to using hyperlinks and substituted in XML post-processing.
15:56 rns [1] https://github.com/jgm/cmark
15:56 rns [2] https://gist.github.com/rns/54d53cbbb9fd88ce8d2a
15:56 rns s/named code blocks [1]/named code blocks [2]/
20:00 rns left #marpa
22:42 ronsavage joined #marpa

| Channels | #marpa index | Today | | Search | Google Search | Plain-Text | summary