* [ANN] nyacc 1.00.0 released
@ 2019-12-23 16:25 Matt Wette
2019-12-29 14:23 ` Jan Nieuwenhuizen
0 siblings, 1 reply; 3+ messages in thread
From: Matt Wette @ 2019-12-23 16:25 UTC (permalink / raw)
To: guile-user
Hi All,
I am finally pushing out a 1.0 release of nyacc.
NYACC, for Not Yet Another Compiler Compiler, is set of guile modules for
generating parsers and lexical analyzers. It also provides sample parsers
and pretty-printers using SXML trees as an intermediate representation.
It provides a decent C parser and a `FFI Helper' tool to help create
Guile Scheme bindings for C-based libraries.
It provides (partially implemented) compilers based on above mentioned
parsers to allow execution with Guile as extension languages.
Here are updates from V0.99.3:
* Makefiles now use "$(MAKE)" instead of "make"
* changed order of udict, ddict arguments to canize-enum-def-list
* removed hacks from eval-cpp-expr prev used by canize-enum-def-list
* cleaned up cxeval failures
NYACC maturity is production/stable level.
NYACC is free software; the full source distribution is available through
* the tarball repository:
https://download.savannah.gnu.org/releases/nyacc/
* the git repository:
git://git.savannah.nongnu.org/nyacc.git
home page, project page and user's guides:
* https://www.nongnu.org/nyacc
* https://savannah.nongnu.org/projects/nyacc
* https://www.nongnu.org/nyacc/nyacc-ug.html
* https://www.nongnu.org/nyacc/ffi-help.html
Report bugs:
* https://savannah.nongnu.org/bugs/?func=additem&group=nyacc
Get support:
* https://savannah.nongnu.org/support/?group=nyacc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] nyacc 1.00.0 released
2019-12-23 16:25 [ANN] nyacc 1.00.0 released Matt Wette
@ 2019-12-29 14:23 ` Jan Nieuwenhuizen
2019-12-29 15:08 ` Matt Wette
0 siblings, 1 reply; 3+ messages in thread
From: Jan Nieuwenhuizen @ 2019-12-29 14:23 UTC (permalink / raw)
To: Matt Wette; +Cc: guile-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ANN] nyacc 1.00.0 released
2019-12-29 14:23 ` Jan Nieuwenhuizen
@ 2019-12-29 15:08 ` Matt Wette
0 siblings, 0 replies; 3+ messages in thread
From: Matt Wette @ 2019-12-29 15:08 UTC (permalink / raw)
To: Jan Nieuwenhuizen; +Cc: guile-user
On 12/29/19 6:23 AM, Jan Nieuwenhuizen wrote:
> Wow, congrats! An amazing piece of work.
Thank you.
> 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.
>
I found this. Will appear fixed in 1.00.1 coming soon.
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-29 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-23 16:25 [ANN] nyacc 1.00.0 released Matt Wette
2019-12-29 14:23 ` Jan Nieuwenhuizen
2019-12-29 15:08 ` Matt Wette
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).