From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] Nyacc version 0.83.0 released Date: Sat, 07 Apr 2018 14:21:38 +0200 Organization: AvatarAcademy.nl Message-ID: <87tvsnyzot.fsf@gnu.org> References: <874lko8q7v.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1523103622 21527 195.159.176.226 (7 Apr 2018 12:20:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Apr 2018 12:20:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Apr 07 14:20:18 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f4mpM-0005Tm-SE for guile-user@m.gmane.org; Sat, 07 Apr 2018 14:20:17 +0200 Original-Received: from localhost ([::1]:54412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4mrS-0004c7-KS for guile-user@m.gmane.org; Sat, 07 Apr 2018 08:22:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4mqq-0004aC-64 for guile-user@gnu.org; Sat, 07 Apr 2018 08:21:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4mqp-0007Jh-CS for guile-user@gnu.org; Sat, 07 Apr 2018 08:21:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4mqj-0007HJ-2b; Sat, 07 Apr 2018 08:21:41 -0400 Original-Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=40934 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1f4mqi-0000sr-L5; Sat, 07 Apr 2018 08:21:40 -0400 X-Url: http://AvatarAcademy.nl In-Reply-To: (Matt Wette's message of "Fri, 6 Apr 2018 17:20:01 -0700") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14536 Archived-At: Matt Wette writes: > I think it will take me a while to make a release. That's fine. Although all my tests pass, I found that to compile mes.c I need string-fold-right. So I added that to Mes. After that, tcc.c hangs while parsing. Will have to investigate later, for now I'm reverting to 0.80.42. >> I added some tracing >> to stderr. Possibly you have a better way to do this, esp. the >> NYACC_TRACE environment variable kludge... > > There is a #:debug option to the parser that provide a trace through > the parsing. Yes, I'm using that; great. > And if you look in examples/nyacc/lang/c99/Tmach.scm there is code to > show how > to generate a file with parser states. OK. The NYACC_TRACE=3D1 feature is meant for users. Parsing tcc with Mes+MesCC currently takes ~1h (with Guile+MesCC only 40s), so printing some minimal feedback to the user (e.g., al functions and global variables) is helpful. I'll try to change my patch to use something like #:trace '(function global) similar to #debug. Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com