Commit graph

25 commits

Author SHA1 Message Date
Jan Nieuwenhuizen 701905f05c bootstrap: Regenerate.
* mes.mes: Regenerate.
2017-04-25 20:20:10 +02:00
Jan Nieuwenhuizen 8e6ae9ea5f bootstrap: Regenerate.
* mes.mes: Regenerate.
2017-04-25 06:43:20 +02:00
Jan Nieuwenhuizen c8262dac34 bootstrap: Regenerate.
* mes.mes: Regenerate.
2017-04-24 07:16:18 +02:00
Jan Nieuwenhuizen 27327e7bc9 bootstrap: Regenerate.
* mes.mes: Regenerate.
* module/mes/read-0-32.mo: Regenerate.
2017-04-25 23:18:29 +02:00
Jan Nieuwenhuizen 38d30a3e42 build: Refactor.
* GNUmakefile (OUT,QUIET,SUBDIRS): New variables.
  include make/common.make
* .gitignore: Remove toplevel targets.
* build-aux/compile-all.scm: Import from GNU Guix.
* configure (gulp-pipe): Check exit status.  Actually test for CC,
  CC32.
* make/bin.make: New file.
* make/check.make: New file.
* make/clean.make: New file.
* make/common.make: New file.
* make/compile.make: New file.
* make/guile.make: New file.
* make/mescc-guile.make: New file.
* make/mescc-mes.make: New file.
* make/reset.make: New file.
* lib/mlibc.c: Rename from top.
* lib/start.c: Rename from top.
* module/module.make: New file.
* scaffold/scaffold.make: New file.
* scripts/scripts.make: New file.
* src/mes.c: Rename from top.
* src/src.make: New file.
* src/mes.c: Rename from top.
* src/gc..c: Rename from top.
* src/lib.c: Rename from top.
* src/posix.c: Rename from top.
* src/reader.c: Rename from top.
* src/vector.c: Rename from top.
* tests/tests.make: New file.
2017-04-12 21:27:59 +02:00
Jan Nieuwenhuizen d114634203 Prepare for 0.1 release: new directory structure.
* scripts/elf.mes: New file.
* scripts/include.mes: New file.
* scripts/mescc.mes: New file.
* scripts/paren.mes: New file.
* scripts/repl.mes: New file.
* doc/examples/main.c: Move from ./main.c.
* module/mes/base-0.mes: Move from ./base0.mes.
* module/mes/base.mes: Move from top.
* module/mes/elf.mes: Likewise.
* module/mes/let-syntax.mes: Likewise.
* module/mes/let.mes: Likewise.
* module/mes/mes.mes: Likewise.
* module/mes/quasiquote.mes: Likewise.
* module/mes/repl.mes: Likewise.
* module/mes/scm.mes: Likewise.
* module/mes/syntax.mes: Likewise.
* module/mes/lalr-0.mes: Move from lib/lalr.mes.
* module/mes/lalr.mes: Move from lib/lalr.scm.
* module/mes/match.mes: Move from lib/match.scm.
* module/mes/record-0.mes: Move from lib/record.mes.
* module/mes/record.mes: Move from lib/record.scm.
* module/mes/test.mes: Move flom lib/.
* module/rnrs/bytevectors.mes: Move from lib/rnrs.
* module/srfi/srfi-0.mes: Move from lib/srfi.
* module/srfi/srfi-1.mes: Likewise.
* module/srfi/srfi-9.mes: Likewise.
* module/language/c/lexer.mes: Move from ./c-lexer.scm.
* module/language/c/parser.mes: Move from ./mescc.scm.
* module/language/c/compiler.mes: New file, split from parser.mes.
* module/language/paren.mes: Move from ./paren.scm.
* module/mes/libc-i386.mes: New file, split from elf.mes.
* tests/base.test: Move from test/.
* tests/closure.test: Likewise.
* tests/let-syntax.test: Likewise.
* tests/let.test: Likewise.
* tests/match.test: Likewise.
* tests/quasiquote.test: Likewise.
* tests/record.test: Likewise.
* tests/scm.test: Likewise.
* hello.S: Remove.
* hello.c: Remove.
* loop2.mes: Remove.
* test/foo.test: Remove.
2016-10-12 23:40:11 +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 c1886195e6 add scheme apply, rename apply-> apply_env. 2016-07-16 08:17:56 +02:00
Jan Nieuwenhuizen cf0c3ef42e support cond without match, define-macro x (lambda)). 2016-07-16 07:56:01 +02:00
Jan Nieuwenhuizen 7f35686b61 add call-with-values, values. 2016-07-11 19:32:11 +02:00
Jan Nieuwenhuizen 1621cfd284 rename assoc to assq. 2016-07-11 10:48:25 +02:00
Jan Nieuwenhuizen 081cb4a94f add vectors. 2016-07-11 10:38:02 +02:00
Jan Nieuwenhuizen 74774d49a6 add chars. 2016-07-11 00:15:28 +02:00
Jan Nieuwenhuizen a30ee9bb1d add strings. 2016-07-10 22:43:23 +02:00
Jan Nieuwenhuizen 1da953b6ab fix for set! inside lambda. 2016-07-10 13:45:54 +02:00
Jan Nieuwenhuizen 00687ba91a add set!. 2016-07-10 10:43:26 +02:00
Jan Nieuwenhuizen 72d96eb485 snarf scm functions and environment. 2016-07-09 23:12:25 +02:00
Jan Nieuwenhuizen f89507414e eval: disarm lambda. 2016-07-09 22:47:36 +02:00
Jan Nieuwenhuizen 1fe2fb51b1 fix evlis argumuent execution order. 2016-07-09 22:01:00 +02:00
Jan Nieuwenhuizen 6d5811bb98 reader: handle whitespace and comments inside lists. 2016-07-09 18:56:59 +02:00
Jan Nieuwenhuizen 1c6ac2b9b6 hack to print (current-module). 2016-07-09 14:58:37 +02:00
Jan Nieuwenhuizen 989cbab16a mes.c, mes.mes: support quasiquote, unquote. 2016-07-09 14:29:39 +02:00
Jan Nieuwenhuizen 1513c0d5fb boot.mes: generate from mes.mes, scm.mes, test.mes. 2016-07-09 13:23:58 +02:00
Jan Nieuwenhuizen 0eb32de9c7 mes.c: support `.' and add let. 2016-07-08 18:02:06 +02:00
Jan Nieuwenhuizen 1a565a9208 Leave pure LISP.
* GNUmakefile: New file.
* mes.c: Lots of work.
* mes.mes: New file, split-off from mes.scm.
(builtin, number): New function.
(apply): Use them.
* mes.test: New file.
* scm.mes: New file, split-off from mes.scm.
2016-07-09 13:04:20 +02:00