mescc: Have micro-mes use strcmp to print help.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 5 Jan 2017 23:20:05 +0000 (00:20 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 5 Jan 2017 23:20:05 +0000 (00:20 +0100)
commit8d1e001ab22dbc6006f08487e44d9e62dd1844d6
treea1e379c5ba298a8be0b017aaa537e865a740bd09
parent107795b13c7676811f79ec96f2f943b281b6b8e4
mescc: Have micro-mes use strcmp to print help.

* doc/examples/micro-mes.c (main): Add --help.
* module/language/c99/compiler.mes (info?): New function.
  (expr->accu): Handle function call and sub.
  (ast->info): Handle if not, and, de-ref, eq, sub, return f ().
* module/mes/libc-i386.mes (i386:accu-zero?, i386:Xmem-byte->accu,
  i386:Xmem-byte->base, i386:jump-byte-nz, i386:jump-byte-z,
  i386:test-byte-base, i386:Xjump-byte-z, i386:sub-byte-base): New
  functions.
* module/mes/libc-i386.scm: Export them.
module/language/c99/compiler.mes
module/mes/libc-i386.mes
module/mes/libc-i386.scm
scaffold/micro-mes.c