mes/module/mes
Jan Nieuwenhuizen e9560e95a5 mescc: Support strings in struct initialization.
* module/mes/elf-util.mes (add-s:-prefix, drop-s:-prefix): New functions.
* module/mes/elf-util.scm: Export them.
* module/language/c99/compiler.mes (string->global): Add `s:' prefix
  to global strings.  Update users.
  (expr->arg): Update.
  (expr->accu): Handle string expressions.
  (initzer->global): New function.
  (struct-field): Handle string field.
* doc/examples/t.c: Test it.
* doc/examples/mini-mes.c: Use it.

dun!
2017-03-09 08:14:27 +01:00
..
peg Support PEG from Guile. 2016-12-22 20:16:44 +01:00
base-0.mes core+scm: Implement exception handling. 2016-12-28 22:26:07 +01:00
base.mes core+scm: Implement exception handling. 2016-12-28 22:26:07 +01:00
bytevectors.mes mescc: Use Nyacc frontend. 2016-12-31 09:03:07 +01:00
bytevectors.scm mescc: Use Nyacc frontend. 2016-12-31 09:03:07 +01:00
catch.mes core+scm: Implement exception handling. 2016-12-28 22:26:07 +01:00
display.mes core: Add continuations, call/cc. 2016-12-28 22:04:57 +01:00
elf-util.mes mescc: Support strings in struct initialization. 2017-03-09 08:14:27 +01:00
elf-util.scm mescc: Support strings in struct initialization. 2017-03-09 08:14:27 +01:00
elf.mes mescc: Display sexps better. 2017-03-07 22:33:59 +01:00
elf.scm mescc: Nyacc updates, factor-out elf-util. 2017-04-02 11:55:37 +02:00
fluids.mes core: Rewrite eval_apply in continuation passing style. 2016-12-28 21:55:42 +01:00
guile.mes Add drain-input. 2017-01-04 09:16:52 +01:00
lalr.mes Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
lalr.scm Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
let.mes Add loadable modules. 2016-12-12 20:35:19 +01:00
libc-i386.mes mescc: Support struct assignment. 2017-03-02 20:26:13 +01:00
libc-i386.scm mescc: Support struct assignment. 2017-03-02 20:26:13 +01:00
loop-0.mes Add loadable modules. 2016-12-12 20:35:19 +01:00
match.mes Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
match.scm Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
mes-0.mes core: One big eval_apply. 2016-12-22 16:34:28 +01:00
optargs.mes Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
optargs.scm scm: Fix psyntax/keyword/optargs interaction bug. 2017-01-07 01:08:29 +01:00
peg.mes Support PEG from Guile. 2016-12-22 20:16:44 +01:00
pmatch.mes scm: Fix psyntax/keyword/optargs interaction bug. 2017-01-07 01:08:29 +01:00
pmatch.scm mescc: Use Nyacc frontend. 2016-12-31 09:03:07 +01:00
pretty-print.mes Add pretty-print from Guile. 2017-01-04 09:12:31 +01:00
pretty-print.scm Add pretty-print from Guile. 2017-01-04 09:12:31 +01:00
psyntax-0.mes scm: Fix psyntax/keyword/optargs interaction bug. 2017-01-07 01:08:29 +01:00
psyntax-1.mes core: Rewrite eval_apply in continuation passing style. 2016-12-28 21:55:42 +01:00
psyntax.mes Use include-from-path for psyntax.pp. 2016-12-22 19:49:41 +01:00
psyntax.pp Use include-from-path for psyntax.pp. 2016-12-22 19:49:41 +01:00
psyntax.ss Import psyntax from Guile-1.8: R7RS with-ellipsis. 2016-12-19 19:41:43 +01:00
quasiquote.mes Refactor quasiquote. 2016-12-22 12:11:55 +01:00
quasisyntax.mes Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
quasisyntax.scm Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
read-0.mes scm: Error throws rather than hard exit. 2017-01-04 00:11:47 +01:00
record-0.mes Add loadable modules. 2016-12-12 20:35:19 +01:00
record.mes Add loadable modules. 2016-12-12 20:35:19 +01:00
repl.mes repl: Fix expand in repl. 2017-01-22 01:35:33 +01:00
scm.mes scm: Error throws rather than hard exit. 2017-01-04 00:11:47 +01:00
syntax.mes Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
syntax.scm Use include-from-path for upstream. 2016-12-22 19:34:41 +01:00
test.mes Add loadable modules. 2016-12-12 20:35:19 +01:00
type-0.mes core: Add continuations, call/cc. 2016-12-28 22:04:57 +01:00