Jan Nieuwenhuizen
b45d7b599f
nyacc: prefix globals.
2017-03-28 20:26:16 +02:00
Jan Nieuwenhuizen
4d4c793018
nyacc: Add missing (mes pmatch) include.
...
* module/nyacc/lang/c99/cpp.mes (mes): Include (mes pmatch).
2017-03-27 21:01:22 +02:00
Jan Nieuwenhuizen
2e007d3727
nyacc: Use pmatch rather than match for cpp.
...
* module/nyacc/lang/c99/cpp.scm (nyacc lang c99 cpp): Import (system
base pmatch) rather than (ice-9 match).
(rtokl->string): Rewrite using pmatch.
2017-04-01 12:16:09 +02:00
Jan Nieuwenhuizen
cf356a553c
nyacc: Add simple split-cppdef for Mes.
...
* module/nyacc/lang/c99/body.scm: Add non-regexp split-cppdef for Mes.
2017-03-26 23:09:44 +02:00
Matt Wette
07310be6d0
nyacc: lex fixes for char-lit
2017-03-02 16:23:44 -08:00
Matt Wette
9c4e5247c2
nyacc: cleaned up documentation
2017-03-01 18:11:40 -08:00
Matt Wette
953a57b663
nyacc: fixed bug in pretty-print-c99 wrt i-sel
2017-02-28 09:53:41 -08:00
Matt Wette
72b0dbe2bd
nyacc: new release 0.76.4
2017-02-23 17:31:24 -08:00
Matt Wette
e00dc59ac0
nyacc: more bugs in cpp tokl->string
2017-02-23 05:37:25 -08:00
Matt Wette
8580e706f8
nyacc: fixed more CPP issues
2017-02-22 17:12:32 -08:00
Matt Wette
2c6a6dc47d
nyacc: fixed C99 CPP to deal with numbers correctly
2017-02-22 08:23:27 -08:00
Matt Wette
a301ce53df
nyacc: worked c99/util2.scm udecl->mspec
2017-02-19 08:26:30 -08:00
Matt Wette
bed639f680
nyacc: fixed some c99/util2 items
2017-02-18 17:06:50 -08:00
Matt Wette
9559240282
nyacc: new release 0.75.5
2017-02-17 08:30:20 -08:00
Matt Wette
f831edafe9
nyacc: minor cpp fixes
2017-02-16 16:12:40 -08:00
Matt Wette
2d35221753
nyacc: new release 0.75.2
2017-02-16 06:24:56 -08:00
Matt Wette
1ae749b25f
nyacc: I think cpp is working now
2017-02-15 19:58:29 -08:00
Matt Wette
5baa7f33b1
nyacc: working cpp now, I hope
2017-02-14 19:24:59 -08:00
Matt Wette
8a821d03d6
nyacc: CPP not yet working for file mode
2017-02-12 14:29:18 -08:00
Matt Wette
ea7f0b3a01
nyacc: working on cpp issues
2017-02-11 13:04:38 -08:00
Matt Wette
d03ea06c84
nyacc: C99 CPP for code is better
2017-02-05 07:52:44 -08:00
Matt Wette
e534225328
nyacc: starting to work on reframing
2017-01-20 14:51:55 -08:00
Matt Wette
85cb3731cc
nyacc: more CPP fixes
2017-01-18 17:26:41 -08:00
Matt Wette
50fc6f6966
nyacc: redesign lang/c99/cppbocy.scm:scan-cpp-input
2017-01-17 05:50:45 -08:00
Matt Wette
50301b8fd7
nyacc: CPP working better now
2017-01-15 08:47:49 -08:00
Matt Wette
7e39956858
nyacc: something working
2017-01-14 15:16:28 -08:00
Matt Wette
532687f6d8
nyacc: still debugginug
2017-01-14 13:30:47 -08:00
Matt Wette
bd3f15af64
nyacc: working # and ## I think, but lots of debug output too
2017-01-11 16:37:58 -08:00
Matt Wette
5652db7984
nyacc: exceptions worked on.. still need to fix #
2017-01-11 08:14:45 -08:00
Matt Wette
91023edbf4
nyacc: fixed C99 use of 'defined XYZ' (no parens)
2017-01-10 20:06:28 -08:00
Matt Wette
cc5f5ac96f
nyacc: working on fixes
2017-01-10 18:56:00 -08:00
Jan Nieuwenhuizen
3c35f59e63
nyacc: Add cpp to c99 mes module.
...
* module/nyacc/lang/c99/parser.mes: Include (nyacc lang c99 cpp).
2017-01-03 22:12:12 +01:00
Jan Nieuwenhuizen
7ec42c3cc7
mescc: Use Nyacc frontend.
...
* module/language/c99/compiler.mes: New file.
* module/language/c99/compiler.scm: Include it.
* module/mes/elf.mes: Move (mes-use-module) into cond-expand.
* module/mes/elf.scm: New file.
* module/mes/libc-i386.scm: New file.
* module/nyacc/lang/c99/parser.mes: Add missing module includes.
* module/nyacc/lang/util.mes: Add missing module include.
* scripts/mescc.mes: Use Nyacc.
* guile/mescc.scm: New file.
* GNUmakefile (guile-mescc): Run it.
2016-12-31 09:03:07 +01:00
Matt Wette
cafdfbb0bb
nyacc: minor fixes
2017-01-08 13:00:57 -08:00
Matt Wette
9c32a41370
nyacc: lots of C99/CPP fixes. now more robust for code mode
2017-01-08 12:16:28 -08:00
Matt Wette
0b46949f48
nyacc: lots of fixes to make CPP more robust; now need to test
2017-01-07 16:06:09 -08:00
Matt Wette
baea80d962
nyacc: updates for cpp-ok/not-ok
2017-01-06 08:03:41 -08:00
Matt Wette
2df0f57a30
nyacc: fixed c99/CPP bug: need to skip space before lparen
2017-01-02 07:42:23 -08:00
Matt Wette
7b665385c9
nyacc: have something working for in-place include
2017-01-01 19:40:27 -08:00
Matt Wette
f5d1522166
nyacc: working on cpp-include fix
2017-01-01 07:54:21 -08:00
Matt Wette
e589c81c8d
nyacc: misc updates; see ChangeLog
2016-12-25 19:31:09 -08:00
Matt Wette
4c4706f17e
nyacc: multiple fixes
2016-12-03 07:19:35 -08:00
Jan Nieuwenhuizen
1a58dbe3c6
nyacc: Move (ice-9 syncase) into cond-expand.
...
* module/nyacc/lalr.scm: Move (ice-9 syncase) into cond-expand. Fixes
guile-2 deprecation messages.
* module/nyacc/lang/c99/cpp.scm: Likewise.
* module/nyacc/lang/c99/parser.scm: Likewise.
* module/nyacc/lex.scm: Likewise.
2017-03-26 22:27:20 +02:00
Jan Nieuwenhuizen
1072c7fba9
nyacc: Support enhanced Guile-1.8.
...
* module/nyacc/lalr.scm: Export process-spec, reserved?. Use optargs, syncase.
* module/nyacc/lex.scm: Use optargs, syncase.
* module/nyacc/parse.scm: Use optargs.
* module/nyacc/util.scm: Use optargs.
* module/nyacc/lang/util.scm: Use optargs.
* module/nyacc/lang/c99/cpp.scm: Use syncase.
* module/nyacc/lang/c99/parser.scm: Use optargs, syncase.
2016-12-18 22:16:14 +01:00
Jan Nieuwenhuizen
f8e4d6e42b
nyacc: Add mes modules.
...
* module/nyacc/lang/c99/cpp.mes
* module/nyacc/lang/c99/parser.mes
* module/nyacc/lang/calc/parser.mes
* module/nyacc/lang/util.mes
* module/nyacc/lex.mes
* module/nyacc/parse.mes
* module/nyacc/util.mes
2016-12-18 15:47:55 +01:00
Jan Nieuwenhuizen
a53e09d3e8
Import Nyacc 0.72.0.
...
* module/nyacc: Import module/nyacc.
2016-12-17 22:34:43 +01:00