From: Jan Nieuwenhuizen <janneke@gnu.org>
To: Matt Wette <matt.wette@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: [ANN] nyacc 1.00.0 released
Date: Sun, 29 Dec 2019 15:23:23 +0100 [thread overview]
Message-ID: <87tv5jtdlw.fsf@gnu.org> (raw)
In-Reply-To: <d05664a5-55ce-c8fc-fd27-3fb6c3b795cd@gmail.com> (Matt Wette's message of "Mon, 23 Dec 2019 08:25:09 -0800")
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-string "#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 #<catch-closure 7fb6e1153980>)
In ice-9/boot-9.scm:
705:2 14 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
619:8 13 (_ #(#(#<directory (guile-user) 7fb6e0dd9140>)))
In ice-9/command-line.scm:
181:18 12 (_ #<input: string 7fb6e0df8a80>)
In unknown file:
11 (eval (with-input-from-string "#if FOO\n#endif" parse-c99) #<directory (guile-user) 7fb6e0dd9140>)
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 _ #:xdef? _ #:show-incs _ #:debug _)
In ice-9/boot-9.scm:
829:9 8 (catch c99-error #<procedure 7fb6e01bc750 at nyacc/lang/c99/parser.scm:102:8 ()> #<procedure 7fb…> …)
829:9 7 (catch nyacc-error #<procedure 7fb6e01bc720 at nyacc/lang/c99/parser.scm:104:12 ()> #<procedure …> …)
In nyacc/parse.scm:
147:37 6 (_ #<procedure 7fb6e1152e10 at nyacc/lang/c99/body.scm:376:8 ()> #: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: incomplete implementation") #f)
ERROR: In procedure scm-error:
nyacc eval-cpp-expr: incomplete implementation
--8<---------------cut here---------------end--------------->8---
Greetings,
janneke
--
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
next prev parent reply other threads:[~2019-12-29 14:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-23 16:25 [ANN] nyacc 1.00.0 released Matt Wette
2019-12-29 14:23 ` Jan Nieuwenhuizen [this message]
2019-12-29 15:08 ` Matt Wette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tv5jtdlw.fsf@gnu.org \
--to=janneke@gnu.org \
--cc=guile-user@gnu.org \
--cc=matt.wette@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).