Commit graph

2346 commits

Author SHA1 Message Date
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
Jan Nieuwenhuizen 87c52609ff mes.c: less_p, greater_p, is_p: take multiple arguments. 2016-07-24 15:26:49 +02:00
Jan Nieuwenhuizen 675bc3dead mes.c: display_helper fix for vector. 2016-07-24 15:25:47 +02:00
Jan Nieuwenhuizen 04f0eed66a scm.mes: make-vector: fix fill. 2016-07-24 14:10:18 +02:00
Jan Nieuwenhuizen dc5e39926a paren.scm revert 2016-07-24 13:28:17 +02:00
Jan Nieuwenhuizen 99762c07ca mes.c: fix apply. 2016-07-24 13:27:05 +02:00
Jan Nieuwenhuizen 8c1a5f19da fix for-each. 2016-07-24 12:40:44 +02:00
Jan Nieuwenhuizen 07a5f716fc lalr paren test 2016-07-24 12:08:21 +02:00
Jan Nieuwenhuizen cc1ad30652 ADD .gitignore. 2016-10-18 22:43:23 +02:00
Jan Nieuwenhuizen 7c6283a6eb lib/lalr.scm 2016-10-18 22:41:39 +02:00
Jan Nieuwenhuizen 478087abe4 mes.c: grok #\tab. 2016-07-24 12:06:05 +02:00
Jan Nieuwenhuizen d4e335b447 mes.c: add syntax, quasisyntax to reader.... 2016-07-24 00:40:37 +02:00
Jan Nieuwenhuizen 28ae662e0e srfi-9 records! 2016-07-24 00:14:40 +02:00
Jan Nieuwenhuizen 711a29f4f9 mes.c: refactor begin and closures. Fixes bugs/top.mes. 2016-07-24 00:01:31 +02:00