From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Creating a Lua roadmap Date: Thu, 21 Apr 2011 14:16:08 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1303389057 32144 80.91.229.12 (21 Apr 2011 12:30:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Apr 2011 12:30:57 +0000 (UTC) Cc: guile-devel To: Phil Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Apr 21 14:30:51 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QCt20-0002Sm-NV for guile-devel@m.gmane.org; Thu, 21 Apr 2011 14:30:48 +0200 Original-Received: from localhost ([::1]:40902 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCt20-0002mx-9C for guile-devel@m.gmane.org; Thu, 21 Apr 2011 08:30:48 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCt1x-0002ix-Pq for guile-devel@gnu.org; Thu, 21 Apr 2011 08:30:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCt1w-0001wI-OS for guile-devel@gnu.org; Thu, 21 Apr 2011 08:30:45 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:53654 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCt1w-0001wE-MX for guile-devel@gnu.org; Thu, 21 Apr 2011 08:30:44 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 36D4F3CAE; Thu, 21 Apr 2011 08:32:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=hyrmrTijrvCWXq5HFh3IpI6fuHk=; b=W15p5/ 3P6Bd2VJck/FFdvQbFBn1pZNDHH1S0/+iKgjHAAlaf1QQgwiAUXAFC4fhf57ibBZ qWYDvKeZnHdlw4eu9rEwXluFxKBxSB3mJ8xuPEskQAS6Vw9T5JPFJa7jDBPwazIz DdLQvsboOf//MtzzVTXrhnos87Qy+vflUPmKE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=ZhbDFSr5vIAgs/N7HmZ+WCDoZv3BbvaK IzdFL6NhAa0pFp4zF57hTnBdYc9Gl8cLIwIlCzey6AygbB3MoqhlYvHPUXAF29Do jqv+lqWoEnCsePTRsw6KTjOrVkSnoYSNBXjHTgR8ock1+W5gEfS92huaSbk9RZX7 tC9wpadbDVc= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 22EC63CAD; Thu, 21 Apr 2011 08:32:43 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6130E3CA9; Thu, 21 Apr 2011 08:32:41 -0400 (EDT) In-Reply-To: (Phil's message of "Tue, 19 Apr 2011 16:11:27 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 742E0934-6C13-11E0-B6FB-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12306 Archived-At: On Tue 19 Apr 2011 23:11, Phil writes: > I have recently checked out the Lua branch. I want to make it seaworthy. Cool! It does indeed need some more loving :-) > I've requested to be added back onto the Savannah group, can someone > do that? TIA. Sure; saw your mail before reading this, so please disregard that confirmation message. > git co -b lua origin/lua > git co -b stable-2.0 origin/stable-2.0 > git branch lua > git rebase stable-2.0 > > Is that right? Yes, except perhaps "git checkout lua" instead of "git branch lua", no? > TODO: > > - Missing standard library functions: math.modf, table.sort, module I think Mark's recent division work should help with modf. I don't recall what's needed for the rest. > - Missing getfenv/setfenv. You can tell Lua to look up global > variables in different environments. > Frankly this is going to be really annoying to implement and I'd > rather leave it off until someone complains about it being missing, if > that's cool. OK. > - Variable arguments, multiple returns. This is the big one. > FIXME: > > - Use prompt and abort instead of throw and catch. Yes this will be good too. > - And/or expressions evaluate expressions multiple times. Whoops! > - The keyword "break" does not work correctly. Yes; to fix. > Andy, I think you wrote "FIXME: use module binders instead" in > compile-tree-il.scm, what does that mean? For global refs, the current code does a lookup every time a function is called, where instead it should allow the variable to be cached the first time it is looked up. The way to hook into the process of caching a variable for lookup is module binders. They aren't documented though. Search for "binder" in ice-9/boot-9.scm and in modules.c. Cheers, Andy -- http://wingolog.org/