unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* lua branch
@ 2013-03-26  4:56 Ian Price
  2013-03-26  5:50 ` Ian Price
  2013-04-12 14:27 ` Ian Price
  0 siblings, 2 replies; 9+ messages in thread
From: Ian Price @ 2013-03-26  4:56 UTC (permalink / raw)
  To: guile-devel


Prompted by the recent discussion of lua/zile on guile-user, I decided
to checkout what the actual state of the Lua branch is.

First off, not all of the tests pass.
- lua-standard-library and lua-eval pass with no problems.
- lua-lexer has 1 failure, which is easy fixed (change #:vararg
   to #:varargs)
- lua-eval-3 throws an error, and so the test doesn't finish running.
  The issue seems to be that the lua->tree-il conversion does not
  compile the <ast-variable-arguments> record. (Lua's '...').
- lua-eval-2 has a similar issue, but this only results in a failure,
  rather than an error.

The branch does not have any git issues with rebasing it onto a modern
stable-2.0 branch, however it does result in some new test failures,
indicating some reliance on changed behaviours.

I don't know much about Lua, but I think I could do the following.
1. Fix the lua-lexer failure.
2. Disable or fix[1] the variable-arguments functionality.
3. Rebase or merge with modern stable or master
4. Fix the errors that arise as a result of 3.

[1] I _think_ what needs done is just to compile it into a lexical
ref, but with some hacking to make sure that the code gets the right
gensym for the enclosing function's '...'. Right now, there is no way to
get that information.

-- 
Ian Price -- shift-reset.com

"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-21 21:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26  4:56 lua branch Ian Price
2013-03-26  5:50 ` Ian Price
2013-03-26  6:14   ` Nala Ginrut
2013-03-26  6:28     ` Ian Price
2013-03-26 21:52   ` Ludovic Courtès
2013-04-12 14:27 ` Ian Price
2013-04-17 23:09   ` Ian Price
2013-05-21 20:42     ` Phil
2013-05-21 21:25       ` Phil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).