From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.devel Subject: [PATCH] Fix Ecmascript's tree-il compiling Date: Sun, 29 Apr 2012 15:40:20 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf3071cffa1ca62f04becc7350 X-Trace: dough.gmane.org 1335685230 18040 80.91.229.3 (29 Apr 2012 07:40:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2012 07:40:30 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Apr 29 09:40:30 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SOOk8-0003La-R0 for guile-devel@m.gmane.org; Sun, 29 Apr 2012 09:40:28 +0200 Original-Received: from localhost ([::1]:41135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOOk7-00069o-Vc for guile-devel@m.gmane.org; Sun, 29 Apr 2012 03:40:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOOk5-00069j-85 for guile-devel@gnu.org; Sun, 29 Apr 2012 03:40:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOOk3-0001iS-MP for guile-devel@gnu.org; Sun, 29 Apr 2012 03:40:24 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:47132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOOk3-0001iG-F8 for guile-devel@gnu.org; Sun, 29 Apr 2012 03:40:23 -0400 Original-Received: by vcbfy7 with SMTP id fy7so1799493vcb.0 for ; Sun, 29 Apr 2012 00:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=EWe10WbrWyMjMRSJfkUCaTG94d8JiAOtgq/Lu8XY124=; b=DzibHLx0iPlDPDTWuUBkcGRc6lJ3cFlXfa5B2P3bLbTDhgVzyylSi6D0V2YIywSE3m IfRbxdxbQ08KFPjnfKLuVbMn0Z7J9wlH2wwXimm90wrx3RrP4Rv42GbmRVYOvNeqRDOn WUPWXgBQ7h2Rnu+lIOo4DnbXv34dn2Xd5/u+OolpR4Ic56RPD1NQ1/whFvGTFF04qWlV WlXNtOUaHoHXNx++YrWGDcZe2PC2QghtkuE8tI4kT01VUL6FeveCIMjfrl06oSLgHjxS nW+JZhnrgIRuRWE2KEoCBGNNtPfkzsUmZ827zGV7fUlcJxVti8blus4zmP5fU94yB13k PjAg== Original-Received: by 10.52.90.178 with SMTP id bx18mr4695376vdb.123.1335685220705; Sun, 29 Apr 2012 00:40:20 -0700 (PDT) Original-Received: by 10.52.29.47 with HTTP; Sun, 29 Apr 2012 00:40:20 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.169 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:14319 Archived-At: --20cf3071cffa1ca62f04becc7350 Content-Type: text/plain; charset=UTF-8 Our inner Ecmascript(also named Javascript for a historical reason) has broken for a long time since tree-il has been updated. When I try to implement a small language with Guile, I found that current parse-tree-il doesn't need a list as its arg anymore. And I changed the same line in language/ecmascript/compile-tree-il.scm, then it works again! No matter how many people interested in the inner ecmascript there be, I like it and I wish it enhance more. Anyway, multi-language is an interesting feature for Guile. Here's the patch. --20cf3071cffa1ca62f04becc7350 Content-Type: application/octet-stream; name="0001-Fix-ecmascript-compile-tree-il.patch" Content-Disposition: attachment; filename="0001-Fix-ecmascript-compile-tree-il.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h1lshnye0 RnJvbSAwMGI4Zjg4NDQ0YTYyZDA0MGZjMzYxOTIyZDA5MDliNWQzOTc4MGJjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBOYWxhR2lucnV0IDxOYWxhR2lucnV0QGdtYWlsLmNvbT4KRGF0 ZTogU3VuLCAyOSBBcHIgMjAxMiAxNToyMzo0MiArMDgwMApTdWJqZWN0OiBbUEFUQ0hdICogR2V0 IHJpZCBvZiAnLT4nIGJlY2F1c2UgY3VycmVudCBwYXJzZS10cmVlLWlsIGRvbid0IG5lZWQgYSBs aXN0IGFzIGFyZy4KIG1vZGlmaWVkOiAgIG1vZHVsZS9sYW5ndWFnZS9lY21hc2NyaXB0L2NvbXBp bGUtdHJlZS1pbC5zY20KCi0tLQogbW9kdWxlL2xhbmd1YWdlL2VjbWFzY3JpcHQvY29tcGlsZS10 cmVlLWlsLnNjbSB8ICAgIDQgKystLQogMSBmaWxlcyBjaGFuZ2VkLCAyIGluc2VydGlvbnMoKyks IDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvbW9kdWxlL2xhbmd1YWdlL2VjbWFzY3JpcHQv Y29tcGlsZS10cmVlLWlsLnNjbSBiL21vZHVsZS9sYW5ndWFnZS9lY21hc2NyaXB0L2NvbXBpbGUt dHJlZS1pbC5zY20KaW5kZXggYTI0MDFmNC4uMjUzMmFkNyAxMDA2NDQKLS0tIGEvbW9kdWxlL2xh bmd1YWdlL2VjbWFzY3JpcHQvY29tcGlsZS10cmVlLWlsLnNjbQorKysgYi9tb2R1bGUvbGFuZ3Vh Z2UvZWNtYXNjcmlwdC9jb21waWxlLXRyZWUtaWwuc2NtCkBAIC00Nyw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