Commit graph

2159 commits

Author SHA1 Message Date
Jan Nieuwenhuizen 76ff664dab elf.mes: for loop. 2016-08-14 14:02:09 +02:00
Jan Nieuwenhuizen 04eb0609cd mescc.scm: print two strings. 2016-08-14 09:06:09 +02:00
Jan Nieuwenhuizen 2c7f26dbe6 mescc.scm: first a.out produced from main.c. 2016-08-14 01:44:42 +02:00
Jan Nieuwenhuizen 85f3d40e71 lib/match.scm: import. 2016-08-14 01:40:55 +02:00
Jan Nieuwenhuizen da27cf183a lib/srfi/srfi-1.scm: add append-map, filter, find. 2016-08-14 01:40:45 +02:00
Jan Nieuwenhuizen a3e5461952 elf.mes: make-elf. 2016-08-13 22:43:55 +02:00
Jan Nieuwenhuizen 9fe124a4bf elf.mes: use elf32-* remove set!. 2016-08-13 22:21:59 +02:00
Jan Nieuwenhuizen 24291da28e elf.mes: remove text-free, softcode data-offset. 2016-08-13 19:19:52 +02:00
Jan Nieuwenhuizen 30076e1b2b elf.mes: put marker in note section. 2016-08-13 18:57:49 +02:00
Jan Nieuwenhuizen 51d0fc90de Revert "elf.mes: drop .note section."
This reverts commit b2b5b73b91308407ec82a5ba658aca025512c542.
2016-08-13 18:46:22 +02:00
Jan Nieuwenhuizen 403e487d16 elf.mes: drop .note section. 2016-08-13 18:42:53 +02:00
Jan Nieuwenhuizen 98d4772e3f elf.mes: softcode more. 2016-08-13 18:42:38 +02:00
Jan Nieuwenhuizen ec8553dc4f mes.c: implement string->list. 2016-08-13 18:42:11 +02:00
Jan Nieuwenhuizen 00e000306d elf.mes: compute text-free, text-offset. 2016-08-13 15:27:02 +02:00
Jan Nieuwenhuizen 1ddb703265 lib/rnrs/bytevectors.scm: minimal rnrs bytevectors. 2016-08-13 17:05:29 +02:00
Jan Nieuwenhuizen 1d08cc7f6f elf.mes: separate-out text, text-free and data sections. 2016-08-13 10:32:07 +02:00
Jan Nieuwenhuizen 038f4c71be resurrect guile-mescc, use write-int and (current-error-port) iso `2'. 2016-08-13 01:07:26 +02:00
Jan Nieuwenhuizen 697858f670 Revert "mes.c: use single malloc with arena."
This reverts commit 38c364faeff430a5ee28f402d24b073f6bf9a548.
2016-09-25 10:13:09 +02:00
Jan Nieuwenhuizen b955b84d20 mes.c: use single malloc with arena. 2016-08-13 00:58:00 +02:00
Jan Nieuwenhuizen 355042300c elf.mes: a.out runs. 2016-08-12 16:38:59 +02:00
Jan Nieuwenhuizen ecc1ebec1d elf.mes: error-free header, no program yet. 2016-08-12 15:54:15 +02:00
Jan Nieuwenhuizen 2ffa9e2cdd elf.mes: readelf -h a.out shows some info. 2016-08-12 15:10:05 +02:00
Jan Nieuwenhuizen 0829c5762c mescc/elf.mes: write minimal ELF header. 2016-08-12 14:17:55 +02:00
Jan Nieuwenhuizen 2097e9e4ef mes.c: display, newline: take optional port; add write-char, read hex #xXX. 2016-08-12 14:17:20 +02:00
Jan Nieuwenhuizen 066deeb183 remove debug output to stdout. 2016-08-12 12:06:59 +02:00
Jan Nieuwenhuizen ef874c8fd3 syntax-if.mes: TODO. 2016-07-27 12:16:44 +02:00
Jan Nieuwenhuizen 287c0284fe Use IF iso COND as primitive; keep COND primitive as option. 2016-07-27 08:49:45 +02:00
Jan Nieuwenhuizen af1b6dc88d let.scm: cleanups. 2016-07-27 07:35:57 +02:00
Jan Nieuwenhuizen 56fcde0966 macro hax0rz 2016-07-27 00:32:30 +02:00
Jan Nieuwenhuizen ccb1d842f3 Revert "lib/lalr-debug.scm"
This reverts commit 084d1bea33d45f0653cdc6bef44dc295faef6b72.
2016-07-27 00:05:02 +02:00
Jan Nieuwenhuizen 300c997d43 lib/lalr-debug.scm 2016-07-26 23:34:00 +02:00
Jan Nieuwenhuizen d949b81402 quasiquote.mes: disable, too slow. 2016-07-26 23:22:32 +02:00
Jan Nieuwenhuizen 3864d434fc split-up test suite, implement quasiquote in scheme. 2016-07-25 14:39:56 +02:00
Jan Nieuwenhuizen 384a88dd53 hello.c, hello.S: hello world target for C compiler. 2016-07-26 07:30:53 +02:00
Jan Nieuwenhuizen f170735edb mescc: mes parses simplest main with lalr. 2016-07-25 01:12:22 +02:00
Jan Nieuwenhuizen d07108a6e8 scm.mes: add port-location dummies. 2016-07-25 00:06:50 +02:00
Jan Nieuwenhuizen 479d988e42 mes.c: add set-cdr, substring, string-ref. 2016-07-25 00:06:18 +02:00
Jan Nieuwenhuizen 87678add4a mes.c: support whitespace characters. 2016-07-24 23:41:16 +02:00
Jan Nieuwenhuizen 60a7c9099f mescc.scm: parse simple main.c. 2016-07-24 23:18:53 +02:00
Jan Nieuwenhuizen d5fc30d265 TODO/HACKING: update: lalr/paren.scm runs. 2016-07-24 19:38:47 +02:00
Jan Nieuwenhuizen 46387d411b mes.c: when reading `EOF', defer read control to program. 2016-07-24 18:28:45 +02:00
Jan Nieuwenhuizen 8dacd68fe8 mes.c, scm.c: add read-char, peek-char, char=?, char-alphabetic?. 2016-07-24 17:35:31 +02:00
Jan Nieuwenhuizen 82a89c680f scm.mes: add list-ref. 2016-07-24 17:25:03 +02:00
Jan Nieuwenhuizen 2983578531 mes.c: add logior. 2016-07-24 17:21:30 +02:00
Jan Nieuwenhuizen bbdba26201 scm.mes: add expt. 2016-07-24 17:16:55 +02:00
Jan Nieuwenhuizen 9fc7868a6d scm.mes: remainder. 2016-07-24 17:11:49 +02:00
Jan Nieuwenhuizen 39d5722973 scm.mes: implement do. 2016-07-24 17:03:28 +02:00
Jan Nieuwenhuizen 746d06a0ec scm.mes: add max, min. 2016-07-24 16:34:54 +02:00
Jan Nieuwenhuizen e1bfc3e17e <=, >=: take multiple arguments. 2016-07-24 16:29:38 +02:00
Jan Nieuwenhuizen b5ab19aab7 mes.c: add quotient and modulo. 2016-07-24 15:25:16 +02:00