Commit graph

40 commits

Author SHA1 Message Date
Jan Nieuwenhuizen 141012f5c0 *unspecified* harder. 2016-07-11 22:47:12 +02:00
Jan Nieuwenhuizen 8c2d53eb32 add number->string, string->symbol, symbol->string. 2016-07-11 22:36:38 +02:00
Jan Nieuwenhuizen 5d2259e55e add procedure? 2016-07-11 22:16:11 +02:00
Jan Nieuwenhuizen ddccd4747a add variable argument append. 2016-07-11 21:50:59 +02:00
Jan Nieuwenhuizen 3a29b03529 +,-,*,/: take n arguments. 2016-07-11 20:58:30 +02:00
Jan Nieuwenhuizen 7f35686b61 add call-with-values, values. 2016-07-11 19:32:11 +02:00
Jan Nieuwenhuizen 2e1e307f13 add memq/memv. 2016-07-11 11:05:17 +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 9a699da5c5 add length. 2016-07-11 00:21:45 +02:00
Jan Nieuwenhuizen 270e272acc remove disabled code. 2016-07-11 00:17:12 +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 18d09f4837 TODO: new file. 2016-07-10 15:31:45 +02:00
Jan Nieuwenhuizen b3d105ad50 add begin. 2016-07-10 15:19:20 +02:00
Jan Nieuwenhuizen 1584bb8701 add letrec. 2016-07-10 13:47:56 +02:00
Jan Nieuwenhuizen 1da953b6ab fix for set! inside lambda. 2016-07-10 13:45:54 +02:00
Jan Nieuwenhuizen f373e5ae76 add not, if. 2016-07-10 13:04:10 +02:00
Jan Nieuwenhuizen bfed3eb8b3 add +,/,*,=. 2016-07-10 12:52:53 +02:00
Jan Nieuwenhuizen 0ef7238600 loop2.mes: separate from scm.mes. 2016-07-10 10:55:05 +02:00
Jan Nieuwenhuizen fda8ff7cc4 ignore 2016-07-10 10:43:52 +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 de2e9502cf map: support two lists. 2016-07-09 22:05:07 +02:00
Jan Nieuwenhuizen 717ae9cdc1 add simple map. 2016-07-09 22:01:13 +02:00
Jan Nieuwenhuizen 1fe2fb51b1 fix evlis argumuent execution order. 2016-07-09 22:01:00 +02:00
Jan Nieuwenhuizen 6b54eb9d76 add let*. 2016-07-09 20:12:49 +02:00
Jan Nieuwenhuizen 6d5811bb98 reader: handle whitespace and comments inside lists. 2016-07-09 18:56:59 +02:00
Jan Nieuwenhuizen 59bd723a8d move mes language additions to scm.mes. 2016-07-09 15:16:30 +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 dfde662d0b boot.mes: support macros, add and, or. 2016-07-08 16:47:44 +02:00
Jan Nieuwenhuizen bd5a163654 boot.mes: boostrap into mes. 2016-05-29 13:44:03 +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
Jan Nieuwenhuizen 22ba3f6869 Add LISP interpreter in C.
mes.c: New file.
2016-07-09 13:04:20 +02:00
Jan Nieuwenhuizen b99afdbbb7 Add Guile version of John McCarthy's Maxwell Equations of Software.
* .gitignore: New file.
* AUTHORS: Idem.
* COPYING: Idem.
* README: Idem.
* mes.scm: Idem.
2016-05-28 16:26:06 +02:00
Jan Nieuwenhuizen 7f5fe3d922 Initial. 2016-05-15 07:49:33 +02:00