Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2017-12-26

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

All times shown according to UTC.

Time Nick Message
01:05 ronsavage joined #marpa
02:18 idiosyncrat joined #marpa
02:18 idiosyncrat Demat!
02:19 idiosyncrat joined #marpa
02:58 ilbot3 joined #marpa
02:58 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
12:55 Cheery idiosyncrat: hi, I tried layout parsing and I think I got it to work, but I got a problem.
12:57 Cheery when the layout rules are in terminals, it's pretty easy to just prevent the parse tree and earley items from building up when the layout is violated
12:58 Cheery when they are in nonterminals, I can use the same trick, but the problem is the layout gets determined at reduction step
12:59 Cheery Now when I've been thinking about how to make the parser figure it out at prediction phase without the input token..
14:36 Cheery the problem is, that's a hard problem
16:23 Cheery Hmm.
16:25 Cheery In theory if I prevented the shift of a terminal when it's certain that it cannot reduce, then it would likely work.
16:25 Cheery to do that I can do a path search in transitions.
16:26 Cheery and it only has to be triggered when there's a nonterminal condition in the prediction chain.
16:33 Cheery it can be a depth first search step.
17:07 Cheery And aside the search step it looks like this can become a zero-cost addition.
17:08 Cheery so when the feature is used it doesn't cost.
17:08 Cheery is not used*
22:16 ronsavage joined #marpa

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