Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2016-05-21

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

All times shown according to UTC.

Time Nick Message
00:36 ronsavage joined #marpa
04:17 idiosyncrat_ Good night!
05:09 kaare_ joined #marpa
05:29 kaare_ joined #marpa
05:48 kaare__ joined #marpa
05:50 koo7 joined #marpa
06:08 kaare__ joined #marpa
06:16 kaare__ joined #marpa
07:41 kaare_ joined #marpa
10:52 pczarn joined #marpa
12:03 koo5 joined #marpa
12:46 koo7 joined #marpa
12:57 koo5 joined #marpa
13:41 koo7 joined #marpa
13:51 JPGainsborough joined #marpa
15:06 koo7 joined #marpa
16:03 KotH joined #marpa
16:12 idiosyncrat_ joined #marpa
16:24 idiosyncrat_ I now have a Lua interpreter which will take arguments from Perl and return results to Perl.
16:24 idiosyncrat_ There was Inline::Lua, and studying it was helpful.
16:26 idiosyncrat_ But it does very aggressive conversions back and forth, which have a lot of high-risk DWIM-ery -- in particulary Perl arrays and hashes just don't translate conveniently to Lua tables.
16:26 idiosyncrat_ I only convert scalars -- number, strings, and nils.
16:26 idiosyncrat_ That's all I need.
16:27 idiosyncrat_ I'll also allow Perl objects as opaque entities so that, for example, they can be reordered in arrays (reordering scalars is most of what the Marpa semantics do).
16:28 idiosyncrat_ In a general Lua/Perl interface, this might be unsatisfactorily restrictive, but for Marpa's purposes, it's perfect.
16:29 idiosyncrat_ I've reached the point where I can define Lua functions in one call to the interpreter and, in the next, pass the function an argument and execute it.
17:01 pczarn joined #marpa
20:01 pczarn joined #marpa
20:32 KotH joined #marpa
21:37 kaare_ joined #marpa
23:18 ronsavage joined #marpa

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