From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] nyacc 1.00.0 released Date: Sun, 29 Dec 2019 15:23:23 +0100 Organization: AvatarAcademy.nl Message-ID: <87tv5jtdlw.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195076"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: guile-user@gnu.org To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 29 15:24:00 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ilZU6-000oYe-KJ for guile-user@m.gmane.org; Sun, 29 Dec 2019 15:23:58 +0100 Original-Received: from localhost ([::1]:52466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilZU5-0004vq-DA for guile-user@m.gmane.org; Sun, 29 Dec 2019 09:23:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37686) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilZTc-0004vk-Ps for guile-user@gnu.org; Sun, 29 Dec 2019 09:23:29 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ilZTc-0004bi-Jw; Sun, 29 Dec 2019 09:23:28 -0500 Original-Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=39054 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 1ilZTb-0007ou-37; Sun, 29 Dec 2019 09:23:27 -0500 X-Url: http://AvatarAcademy.nl In-Reply-To: (Matt Wette's message of "Mon, 23 Dec 2019 08:25:09 -0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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:15975 Archived-At: Matt Wette writes: Hello matt, > I am finally pushing out a 1.0 release of nyacc. Wow, congrats! An amazing piece of work. Trying to update the Nyacc package in Guix, I found that Mes does not build with 1.00.0. When FOO is not defined, this --8<---------------cut here---------------start------------->8--- #if FOO #endif --8<---------------cut here---------------end--------------->8--- produces a backtrace. To reproduce, run --8<---------------cut here---------------start------------->8--- guile -c '(use-modules (nyacc lang c99 parser)) (display (with-input-from-s= tring "#if FOO\n#endif" parse-c99))' --8<---------------cut here---------------end--------------->8--- With 0.99.0, this gives (trans-unit), with 1.00.0 I get --8<---------------cut here---------------start------------->8--- Backtrace: 15 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 14 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 13 (_ #(#(#))) In ice-9/command-line.scm: 181:18 12 (_ #) In unknown file: 11 (eval (with-input-from-string "#if FOO\n#endif" parse-c99) #) In ice-9/ports.scm: 470:4 10 (with-input-from-port _ _) In nyacc/lang/c99/parser.scm: 101:6 9 (parse-c99 #:cpp-defs _ #:inc-dirs _ #:inc-help _ #:mode _ #:x= def? _ #:show-incs _ #:debug _) In ice-9/boot-9.scm: 829:9 8 (catch c99-error # # =E2=80=A6) 829:9 7 (catch nyacc-error # # =E2=80=A6) In nyacc/parse.scm: 147:37 6 (_ # #:debug _) In nyacc/lang/c99/body.scm: 642:27 5 (_) 544:12 4 (read-token) In ice-9/boot-9.scm: 841:4 3 (with-throw-handler _ _ _) In nyacc/lang/c99/body.scm: 416:27 2 (_) In ice-9/boot-9.scm: 841:4 1 (with-throw-handler _ _ _) In unknown file: 0 (scm-error misc-error #f "~A" ("nyacc eval-cpp-expr: incomplet= e implementation") #f) ERROR: In procedure scm-error: nyacc eval-cpp-expr: incomplete implementation --8<---------------cut here---------------end--------------->8--- Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com