Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-09-04

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

All times shown according to UTC.

Time Nick Message
01:30 ronsavage1 joined #marpa
03:20 ronsavage joined #marpa
04:35 ronsavage joined #marpa
05:08 ronsavage1 joined #marpa
05:35 sivoais joined #marpa
07:26 ronsavage joined #marpa
08:29 CQ joined #marpa
08:29 CQ hello... do the trace_terminals and debug work with R2 as with XS? I have a grammar I need to debug thats getting hung up and I don't see why
08:47 MintberryCruNCH joined #marpa
09:40 MintberryCruNCH joined #marpa
10:07 MintberryCruNCH joined #marpa
10:16 rns joined #marpa
10:21 rns CQ: hi, trace_terminals is in both R2 and XS, IIRC. https://metacpan.org/pod/distribution/Marpa-R2/pod/Tracing.pod and https://metacpan.org/pod/distribution/Marpa-R2/pod/Progress.pod are about grammar debugging in R2 (SLIF, Scanless). Can you give a trimmed gist of it?
11:13 CQ yeah, I finally found those after a while, google still finds the XS ones ...
11:14 CQ tell you what, as I'm sarching for and finding a bunch of stuff I'll collect it and then it can go on the website as a resource list... marpa help isn't that easy to find yet
11:14 CQ there are decent examples etc, but looking for details takes time
11:15 CQ also: I'm writing a text based todo-list manager along the lines of http://todotxt.com/ with marpa... that should be a fairly interesting and not too complex example when done. I'd be happy to share that as part of a tutorial or something
11:25 rns well, IME, details are better found by grep'ping -r <...> cpan/t and cpan/pod after cloning the repo from https://github.com/jeffreykegler/Marpa--R2/tree/master
11:26 rns or asking smth. specific here or on a mailing list, like you just did. :)
11:28 rns ronsavage (who runs the Marpa home page at http://savage.net.au/Marpa.html) will be happy to have contributions, I think.
11:30 CQ I'll dig into it some more tonight, have to run now... thanks for the help though. I still need to understand when to use ~ and when ::= ... one is the exact match, the other the expression match with options... still have some way to go on the learning curve, I last wrote a parser / compiler 15 years ago ;)
11:38 rns I'd say ~ is more for lexing and ::= is more for parsing. You define a symbol on an lhs of a ~'s rule (L ~ 'lexeme') and then use this symbol on an rhs of ::='s (r ::= L s1 s2) that makes L a lexeme.
11:40 rns Overall, reading https://metacpan.org/pod/distribution/Marpa-R2/pod/Vocabulary.pod can be a nice refresher on parsing and help set the mind up.
11:46 rns There was an illustrative case about ~ and ::= on this channel the other day — http://irclog.perlgeek.de/marpa/2014-09-02#i_9284934
11:46 rns with code examples and discussion.
11:51 hobbs joined #marpa
11:51 hobbs joined #marpa
11:51 daxim joined #marpa
13:13 MintberryCruNCH joined #marpa
15:54 CQ joined #marpa
16:09 rns_ joined #marpa
16:10 rns joined #marpa
16:12 rns joined #marpa
16:12 rns test, please ignore
16:13 rns joined #marpa
16:15 rns joined #marpa
16:33 rns joined #marpa
16:42 rns joined #marpa
18:23 jdurand_ joined #marpa
18:24 jdurand_ Re http://irclog.perlgeek.de/marpa/2014-09-04#i_9296228 - Marpa deserves a calm reading of all its documentation, but I found that reading the documentation of the C API reveals why some methods exist in the XS and/or Perl -;
20:28 MintberryCruNCH joined #marpa

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