mes/scaffold
Jan Nieuwenhuizen d47f0f65c5 mescc: Support pointer arrays and some arithmetic.
* module/language/c99/compiler.mes (.name): Support **; handle type size.
  (.statements): Likewise.
  (push-local-de-ref): Likewise.
  (push-ident-de-ref): Likewise.
  (expr->arg): Likewise.
  (ident->accu):  Likewise.
  (base->ident-address):  Likewise.
  (ident-add): Likewise.
  (expr->accu):  Likewise.
  (decl->type):  Likewise.
  (formal->text):  Likewise.
  (int->global, ident-address->accu, ident-address->base): New functions.
  (ast->info): Support *, *[] ** declarations.
  (push-local-de-de-ref,  push-ident-de-de-ref): New functions.
* module/mes/as-i386.mes (i386:push-byte-local-de-ref): Rename from
  i386:push-local-de-ref.  Update callers.
  (i386:push-local-de-ref, i386:push-byte-local-de-de-ref,
  i386:accu-mem-add): New functions.
* module/mes/as-i386.scm (mes): Export them.
* scaffold/t.c (array_test): Test it.
2017-04-17 02:15:11 +02:00
..
b-0.mes mescc: Run module/base-0.mes. 2017-03-26 21:13:01 +02:00
cons-mes.c build: Refactor. 2017-04-12 21:27:59 +02:00
hello.c build: Refactor. 2017-04-12 21:27:59 +02:00
m.c mescc: Support pointer arrays and some arithmetic. 2017-04-17 02:15:11 +02:00
malloc.c build: Refactor. 2017-04-12 21:27:59 +02:00
mesmes build: Refactor. 2017-04-12 21:27:59 +02:00
micro-mes.c build: Refactor. 2017-04-12 21:27:59 +02:00
mini-mes.c build: Refactor. 2017-04-12 21:27:59 +02:00
scaffold.make build: Refactor. 2017-04-12 21:27:59 +02:00
t-0.mes mescc: Run module/base-0.mes. 2017-03-26 21:13:01 +02:00
t.c mescc: Support pointer arrays and some arithmetic. 2017-04-17 02:15:11 +02:00
tiny-mes.c build: Refactor. 2017-04-12 21:27:59 +02:00