Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-11-15

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

All times shown according to UTC.

Time Nick Message
02:54 idiosyncrat joined #marpa
02:54 idiosyncrat Demat!
02:56 ilbot3 joined #marpa
02:56 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Code paste/run: https://f.perlbot.pl/#marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today - Youtube channel: https://www.youtube.com/channel/UCYKVfGBtfTqbs1JdYq-dc5g
03:08 idiosyncrat Demat!
03:10 * idiosyncrat typed "Demat!" twice because the logbot briefly went on strike.
05:09 aindilis joined #marpa
05:10 aindilis hi is there any generic interface for parsing a lot of languages to their ASTs?  so for instance, taking a large collection (50-100 languages) of like yacc grammars and getting Marpa::R2 to parse them?  I looked around for some documentation how to do that, no luck.
05:17 ronsavage joined #marpa
05:17 ronsavage aindilis: Do you want to parse statements in those languages, or do you want to parse their BNFs?
05:19 aindilis both, but I especially want to parse statements in the languages
05:46 ronsavage aindilis: OK! In that case I'd suggest (using Marpa of course) parsing their BNFs and converting them onto Marpa's BNF. Then parsing the usages of those languages would be simpler using Marpa. So, the question is: Do you actually have BNFs for those languages. See also the URL labelled 'Start here', which I see above since I'm using Pidgin to do IRC.
05:46 ronsavage If you can't see it, it is https://savage.net.au/Marpa.html.
05:50 aindilis great, thank you so much for this push
06:47 ilbot3 joined #marpa
06:47 Topic for #marpa is now Start here: http://savage.net.au/Marpa.html - Code paste/run: https://f.perlbot.pl/#marpa - Jeffrey's Marpa site: http://jeffreykegler.github.io/Marpa-web-site/ - IRC log: http://irclog.perlgeek.de/marpa/today - Youtube channel: https://www.youtube.com/channel/UCYKVfGBtfTqbs1JdYq-dc5g
07:14 ronsavage joined #marpa
07:36 ronsavage aindilis: I had a thought. One potentially big problem with using Marpa to parse the BNFs is that you need a metagrammar for each case. It might be better to parse the BNFs with straight Perl code and output a Marpa-style BNF. I suggest having a look at some cases, and even writing some code to do that. Either way, if you use Marpa, the BNF for the BNFs would by themselves be worth publishing, and of course the Marpa-style BNFs you develop
07:37 ronsavage Reposting end of text which got truncated: ... and of course the Marpa-style BNFs you develop would definitely be worth publishing. Someone (perhaps me) could turn them into Perl distros. I've done that before for adopted code.
17:24 ceridwen joined #marpa
17:24 ceridwen joined #marpa
21:51 ronsavage joined #marpa

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