mes/module/mes
Jan Nieuwenhuizen 98f64ae516 mescc: Mini-mes (gcc-compiled) runs read-0.mes.
* module/language/c99/compiler.mes (expr->accu): Add mul.
  (test->jump->info): Add le, ge.
  (ast->info): Support int and char* initialization at top level.
* module/mes/as-i386.mes (i386:accu*base, i386:Xjump-cz,
  i386:Xjump-ncz): New function.
* module/mes/as-i386.scm: Export them.
* doc/examples/t.c (test): Test them.
* module/mes/libc.mes (ungetc): New function.
  (getchar): Support it.
  (assert_fail, isdigit): New functions.
  (libc): Export them.
* module/mes/mini-0.mes: Load full reader.
* mlibc.c (ungetc): New function.
  (getchar): Support it.
  (assert_fail, isdigit): New functions.
* mes.c (list length error lookup_ getchar ungetchar peekchar
  peek_byte read_byte unread_byte greater_p less_p): Move functions
  needed to run read-0.mes into core.
* doc/examples/mini-mes.c: Likewise.
* lib.c (length, error): Comment-out.
* math.c (greater_p, less_p): Comment-out.
* posix.c: (getchar, ungetchar, peekchar, peek_byte, read_byte,
  unread_byte): Comment-out.
* reader.c (lookup_): Comment-out.
2017-03-22 06:39:24 +01:00
..
peg Support PEG from Guile. 2016-12-22 20:16:44 +01:00
as-i386.mes mescc: Mini-mes (gcc-compiled) runs read-0.mes. 2017-03-22 06:39:24 +01:00
as-i386.scm mescc: Mini-mes (gcc-compiled) runs read-0.mes. 2017-03-22 06:39:24 +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: Cache text generation. 2017-03-18 23:00:04 +01:00
elf-util.scm mescc: Support strings in struct initialization. 2017-03-09 08:14:27 +01:00
elf.mes mescc: Support mini-mes running scheme program with builtins. 2017-03-12 12:02:12 +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: Refactor libc. 2017-04-02 12:29:09 +02:00
libc-i386.scm mescc: Refactor libc. 2017-04-02 12:29:09 +02:00
libc.mes mescc: Mini-mes (gcc-compiled) runs read-0.mes. 2017-03-22 06:39:24 +01:00
libc.scm mescc: Refactor libc. 2017-04-02 12:29:09 +02: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+mini-mes: Replace manual snippets by snarfed includes. 2017-03-10 20:56:18 +01:00
mini-0.mes mescc: Mini-mes (gcc-compiled) runs read-0.mes. 2017-03-22 06:39:24 +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
tiny-0.mes mescc: Cleanup mini-mes build and test. 2017-03-19 13:41:56 +01:00
type-0.mes core: Add continuations, call/cc. 2016-12-28 22:04:57 +01:00