[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] nyacc 1.00.0 released
From: |
Jan Nieuwenhuizen |
Subject: |
Re: [ANN] nyacc 1.00.0 released |
Date: |
Sun, 29 Dec 2019 15:23:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
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 <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com