From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aemon Cannon Newsgroups: gmane.emacs.devel Subject: Difficulties byte-compiling very large .el file Date: Wed, 19 Aug 2009 17:49:20 -0400 Message-ID: <794057160908191449t4b23080cjf2b85cb0f8e4f589@mail.gmail.com> Reply-To: aemoncannon@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250737400 14208 80.91.229.12 (20 Aug 2009 03:03:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 03:03:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 20 05:03:12 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mdxvj-0006gc-Va for ged-emacs-devel@m.gmane.org; Thu, 20 Aug 2009 05:03:12 +0200 Original-Received: from localhost ([127.0.0.1]:35115 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdxvj-0001VC-HE for ged-emacs-devel@m.gmane.org; Wed, 19 Aug 2009 23:03:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdt29-0000lh-K4 for emacs-devel@gnu.org; Wed, 19 Aug 2009 17:49:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdt25-0000Xx-4p for emacs-devel@gnu.org; Wed, 19 Aug 2009 17:49:29 -0400 Original-Received: from [199.232.76.173] (port=49621 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdt24-0000Ws-SW for emacs-devel@gnu.org; Wed, 19 Aug 2009 17:49:24 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:58196) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mdt24-0001fy-4q for emacs-devel@gnu.org; Wed, 19 Aug 2009 17:49:24 -0400 Original-Received: by qyk13 with SMTP id 13so3802571qyk.14 for ; Wed, 19 Aug 2009 14:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=O+H8Y1UKgXiyF8FDbJmvbBLLMD19xPZvw1Acu/SPJkA=; b=XcyXjmw+5SfG3lYy/WK5bTxi3o+M3Rvv6t2oyXIVwOt11cKVRIlIEaYoUYAMnFKVzO DOay0UlAR7Sza3tvOpef+9buH1u1aMDMf+IIyThasd2DIHRKQqlQXNbFUDv3mf5kQYm3 SBYsrsmyTBz2Ii5Yg7FkWN/JiHEfMmYUS+GBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=U5teOhHTTunofE3gH+2X2V6BIiXF6/Ysrc0EDfrzILj9rzb7x+NjYj4rK1Ho9M4Ns2 g5S36KlFVaB7A7nXmzEuTfxiyxmZhbW2qYGr/p6bJGKrCNYcH61rn+V45s/BqMCV8q/G MpNidgy5xCGj/5wx/E7YuGfOmhYkaTnGNgLaw= Original-Received: by 10.229.1.67 with SMTP id 3mr3009300qce.31.1250718560777; Wed, 19 Aug 2009 14:49:20 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 19 Aug 2009 23:03:06 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114424 Archived-At: This is a re-post of a question I asked of gnu.emacs.help. Xah Lee suggested I try this mailing list. ------------------------------------------------------------------------------------------------------- I've been working on a project to create an elisp target for the ANTLR parser-generator. Here's the project page: http://github.com/aemoncannon/antlr-elisp/tree/experimental The generated parser for ActionScript 3 is over 30k lines long and fails to byte-compile with the message in Emacs 22: as3_elispParser.el:31515:33:Error: Invalid character: 256, #o400, #x100 ..and this message in Emacs 23: ../test/grammars/as3_elispParser.el:31515:33:Error: Args out of range: 256, 0, 255 Here's the source in question: http://aemon.com/file_dump/as3_elispParser.el If you're interested in trying to compile, you'll need: http://github.com/aemoncannon/antlr-elisp/raw/c411f29743e3182523e0ad27a9384b6c4210d55e/src/runtime/ELisp/a3el-runtime.el I don't think the error is actually related to the content of the file, as there are no non-ascii characters in the file, and deleting seemingly arbitrary chunks makes the error go away. There are lots of "Warning: reference to free variable ...." warnings, but I understand where those are coming from and I'm not worried about them. Bear in mind there are *lots* of macros being expanded. Most of the forms with the prefix 'a3el' are macros. Any ideas?