Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2015-01-03

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

All times shown according to UTC.

Time Nick Message
00:47 jeffreykegler joined #marpa
00:48 jeffreykegler hobbs: I take it you heard from Randal about a FLOSS Weekly show on Marpa
00:49 hobbs jeffreykegler: yes, I was copied on the same email you were. I should reply to that :)
00:49 hobbs Buying and moving into a new house has had me a bit busy lately :)
00:50 jeffreykegler Oh, yes, that's right.
00:50 jeffreykegler Is this a bad time to do the show?
00:51 hobbs no, not really. I just let answering the email slip my mind.
00:52 jeffreykegler I'll be looking forward to it.
00:52 hobbs and now I've been reminded
01:18 ronsavage joined #marpa
03:07 sirdancealot joined #marpa
07:35 ronsavage I've finished MarpaX :: Languages :: Perl :: PackUnpack. I just need to proof-read the new docs.I continue to be amazed how easy and quick it is to produce new modules based on Marpa.
07:36 ronsavage It's up-to-date on github, but not released yet.
08:01 ronsavage I still haven't decided on the final format for internal storage. I has a Tree (as in Text :: Balanced :: Marpa), now a stack, but I think I'll revert to the Tree. It just feels better.
08:32 jdurand joined #marpa
08:34 jdurand ron: if I take a node from $parser->parse(\$text), how do I get the corresponding text (I see only "tree" representations from the module's perldoc) - thx
09:18 lwa joined #marpa
10:20 LLamaRider joined #marpa
10:29 ronsavage jdurand: This question, and the next, from the FAQ are meant to explain: https://metacpan.org/pod/Text::Balanced::Marpa#H​ow-do-I-make-use-of-the-tree-built-by-the-parser. If they don't let me know and I'll re-write those 2 answers.
10:31 ronsavage It's been 41 C here today, so summer has finally arrived, weeks late. I'll be on-line for perhaps another 30 minutes.
15:19 sirdancealot joined #marpa
16:34 rns joined #marpa
16:35 rns jeffreykegler: [ and it whom it may concern ]
16:36 rns re http://irclog.perlgeek.de/​marpa/2014-12-30#i_9867066 (porting json.c from libmarpa repo to Lua)
16:37 rns I did a quick and dirty port of json.c to python and lua based on koo5's ffi bindings of libmarpa to python.
16:38 rns The repo is https://github.com/rns/libmarpa-bindings.
16:41 rns For now, it just re-creates the input string, but that's a start. One thing that concerns me is how relatively easy an ffi binding is.
16:43 rns That's mostly because libmarpa is self-contained and does its own memory management, but still. I'd appreciate opinions on whether ffi-based bindings are ok and are there any pitfalls down the road.
16:46 rns I'm planning on building AST's in valuator and adding a capability to specify grammars as [ lhs => [ rhs1, rhs2 ... ] ... ] (some rudimentary lexers are already there). Any feedback, comments, reservations are appreciated.
16:47 rns left #marpa
16:50 pczarn joined #marpa
17:42 jeffreykegler joined #marpa
17:43 jeffreykegler rns: Libmarpa was designed with FFI's in mind.
17:44 jeffreykegler In a real sense, Marpa::R2 uses it via an FFI binding (Perl's XS), though that fact is obscured in the SLIF by a lot of value added at upper layers.
17:45 jeffreykegler The one Libmarpa design decision that might be considered anti-FFI was the decision to make Libmarpa very low-level -- but even this decision was made with FFI's in mind.
17:46 jeffreykegler Libmarpa goes low-level whenever this adds flexibility -- for example, Libmarpa has only symbol numbers, no names --
17:48 jeffreykegler this is not immediately convenient, but it leaves an upper layer 100% freedom to have its own conventions for symbols names (Latin-8 vs. Unicode, grapheme support, allowed characters, etc., etc.)
17:53 jeffreykegler I very much like the idea of people creating things directly on top of Libmarpa -- my hope on the day I announced it was that folks would do so right away,
17:54 jeffreykegler but alas things progressed more slowly.
17:56 jeffreykegler It may be useful for me to describe my motivation a bit --
17:56 jeffreykegler usually with the guy driving the race car, he's doing it because that's what he most loves to do ...
17:57 jeffreykegler but in my case, I built in Libmarpa, what was IMHO a really, really cool new race car, but to my perplexity nobody would drive it ...
17:58 jeffreykegler so I did.
17:59 jeffreykegler But while I've been behind the wheel I've always dreamed of the day I'd be standing on the sidelines, watching somebody else showing off what it can do.
18:27 Aria Such a good way to put it.
18:27 Aria It's what happens to me too.
21:15 ronsavage joined #marpa
21:23 flaviu joined #marpa
22:58 ronsavage joined #marpa
23:28 sirdancealot joined #marpa

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