Perl 6 - the future is here, just unevenly distributed

IRC log for #marpa, 2014-07-27

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

All times shown according to UTC.

Time Nick Message
19:23 jeffreykegler joined #marpa
20:24 ilbot3 joined #marpa
20:24 Topic for #marpa is now IRC logs: http://irclog.perlgeek.de/marpa/today - Pastebin: http://scsys.co.uk:8002/marpa - Released code: https://metacpan.org/pod/Marpa::R2 - Source code: https://github.com/jeffreykegler/Marpa--R2 - Mailing list: https://groups.google.com/forum/?hl=en​&fromgroups#%21forum/marpa-parser - Web site: http://jeffreykegler.github.io/Marpa-web-site/
21:32 jeffreykegler Yesterday I talked about the mini-VM inside Marpa.  It has 22 op codes.
21:33 jeffreykegler The Lua VM has 38.
21:33 jeffreykegler You can see why it is making sense to me to have Lua take over this kind of job.
21:36 jeffreykegler Now that is not exactly an apples-to-apples comparision.  Marpa's VM codes are for high level, complex operations  Lua's are for low-level operations, so that a translation from Marpa VM ops to Lua ops would expand things.
21:37 jeffreykegler Marpa's VM uses a full int for every op code, so there's no reason to keep the count down, and I made no effort to do so.  It's a long way from 22 to 2**32.
21:38 jeffreykegler Lua's op-codes go into a bit-field in Lua's VM instructions, so keeping the count low is a big deal.
21:39 jeffreykegler In fact, the number of Lua VM op codes has been falling in recent releases -- it peaked at 128.
21:41 jeffreykegler My point is that the internals of the SLIF were evolving to the point where I was gradually re-inventing Lua.
21:42 jeffreykegler As person was kind enough to say when he converted a recursive descent parser to Marpa, "best to leave the job to those who are focused on it."
21:43 jeffreykegler So it seems best to leave these semantics/VM decisions to Roberto, who looks like he knows what he is doing.
22:03 ronsavage joined #marpa
22:09 Aria ++
23:42 ronsavage Yep - It's called outsourcing!

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