Re: [ANN] nyacc 3.00.0 released
Janneke Nieuwenhuizen <[email protected]> Wed, 12 Nov 2025 10:51:38 +0100
| Newsgroups | gmane.lisp.guile.user |
|---|---|
| Organization | AvatarAcademy.nl |
| Message-ID | <[email protected]> |
Matt Wette writes: Hi Matt, > I'm releasing 3.00.0 of NYACC, the first from my github account. > I've moved away from savannah due to performance issues, like others. Lovely! > * lang/util.scm(move-if-changed): use system* instead of system, for MES > * lang/util.scm: add def of string-every, for MES > * c99/mach.scm(parse-rhs): changed to syntax-rules from syntax-case > with aid from new macro wrap-term which detects ident's, for MEs Thank you! I found a C99 parse bug after we refactored Mes' src/display.c: declacing a variable as first statement of a `case' statement gives --8<---------------cut here---------------start------------->8--- $ MES=guile ./pre-inst-env mescc switch.c switch.c:8: parse failed at state 623, on input "int" --8<---------------cut here---------------end--------------->8--- See attached file. As Mes currently supports NYACC >= 1.00.2 (we should probably raise that requirement, for the new bootstrap we use latest greatest anyway to be able compile latest tcc), I've moved the statements inside case into a block; so there's no urgency at all from our side. Greetings, Janneke -- Janneke Nieuwenhuizen <[email protected]> | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | https://reasonable-sourcery.coop
switch.c
(application/octet-stream, 111 B)
int
main ()
{
int c = 0;
switch (c)
{
case 0:
int i = 3;
return 0;
}
return 1;
}