Jan Nieuwenhuizen
|
119c2fef1f
|
test.mes: enable vector tests for mes.
|
2016-07-23 07:51:19 +02:00 |
|
Jan Nieuwenhuizen
|
5105f1e516
|
scm.mes: add assq-set!, assq-ref.
|
2016-07-23 01:38:25 +02:00 |
|
Jan Nieuwenhuizen
|
e63f3b2ee4
|
Update documentation, remove old bug files, move bugs into bugs/.
|
2016-07-22 22:12:05 +02:00 |
|
Jan Nieuwenhuizen
|
efdd84b4c4
|
mes.c: add new macro type, junk *macro* hack.
|
2016-07-22 17:13:51 +02:00 |
|
Jan Nieuwenhuizen
|
04f3323f10
|
mes.c: store actual environment with closures.
|
2016-07-22 12:23:23 +02:00 |
|
Jan Nieuwenhuizen
|
dbbfcb5899
|
fix closure 5
|
2016-07-22 09:00:32 +02:00 |
|
Jan Nieuwenhuizen
|
24be64787b
|
mes.c: store enviroment depth in closures. Fixes c1, c3 and more.
|
2016-07-19 21:37:39 +02:00 |
|
Jan Nieuwenhuizen
|
61bbbdffbf
|
mes.c: move begin_env into eval, decruft.
|
2016-07-19 18:18:27 +02:00 |
|
Jan Nieuwenhuizen
|
80e6f95f91
|
fix some tests.
|
2016-07-18 22:59:33 +02:00 |
|
Jan Nieuwenhuizen
|
a7e6cb6720
|
test: hack: show expected/actual
|
2016-07-18 22:52:12 +02:00 |
|
Jan Nieuwenhuizen
|
3a28828bdf
|
remove booting into mes (would need VM), boot.mes; rewrite test.mes.
|
2016-07-18 22:43:16 +02:00 |
|
Jan Nieuwenhuizen
|
8706d7e938
|
c0.mes, c1.mes: update.
|
2016-07-18 20:25:16 +02:00 |
|
Jan Nieuwenhuizen
|
be2326f351
|
unquoting fix.
|
2016-07-17 23:43:16 +02:00 |
|
Jan Nieuwenhuizen
|
005f146b68
|
no closuring in macro body...
|
2016-07-17 23:07:35 +02:00 |
|
Jan Nieuwenhuizen
|
bba631edcd
|
add equal?, member, for-each.
|
2016-07-17 22:35:00 +02:00 |
|
Jan Nieuwenhuizen
|
59cdf9632f
|
closures: mostly supported...
|
2016-07-17 22:15:31 +02:00 |
|
Jan Nieuwenhuizen
|
7eb56a400a
|
syntax.mes: more debugging.
|
2016-07-17 22:06:28 +02:00 |
|
Jan Nieuwenhuizen
|
bfb2f42cd5
|
mes.c: single-statement body lambda closures.
|
2016-07-17 15:59:21 +02:00 |
|
Jan Nieuwenhuizen
|
e8d7fd95c7
|
c0.mes: simpler bug.
|
2016-07-17 15:12:01 +02:00 |
|
Jan Nieuwenhuizen
|
00b80c645a
|
TODO: update
|
2016-07-17 15:00:47 +02:00 |
|
Jan Nieuwenhuizen
|
c0b57d09f0
|
closure.mes: document mes closure bug.
|
2016-07-17 14:47:56 +02:00 |
|
Jan Nieuwenhuizen
|
0a497a2765
|
mes.c: add boolean_p.
|
2016-07-17 13:32:52 +02:00 |
|
Jan Nieuwenhuizen
|
f19d6dfde4
|
mes.c: fix symbol? for nil.
|
2016-07-17 13:16:10 +02:00 |
|
Jan Nieuwenhuizen
|
4574896f68
|
test.mes: disable call-with-values test, prints too much debugging.
|
2016-07-17 13:12:51 +02:00 |
|
Jan Nieuwenhuizen
|
71a89be833
|
mes.c: evcon: support clause without cdr. Fixes or.
|
2016-07-17 12:57:06 +02:00 |
|
Jan Nieuwenhuizen
|
f1bd1d461f
|
add simple <=, >= and list?.
|
2016-07-17 12:56:31 +02:00 |
|
Jan Nieuwenhuizen
|
c4d3d26f8d
|
scm.mes: and: bugfix, return #f for (and #f 1 2 3).
|
2016-07-17 12:14:46 +02:00 |
|
Jan Nieuwenhuizen
|
6f40e02029
|
syntax.mes: use cond iso if. rode harink
|
2016-07-17 11:53:37 +02:00 |
|
Jan Nieuwenhuizen
|
341d064a34
|
hax0rz..ugh + next name? test in macro.mes.
|
2016-07-17 11:37:22 +02:00 |
|
Jan Nieuwenhuizen
|
40bbb3dff1
|
mes.c: another macro clue-bat in apply. now macro.mes equals guile -s macro.mes.
|
2016-07-17 10:38:29 +02:00 |
|
Jan Nieuwenhuizen
|
c565e2fc22
|
mes.c: begin_env: bugfix, keep going in body after set!
|
2016-07-17 09:17:47 +02:00 |
|
Jan Nieuwenhuizen
|
6baafb2380
|
mes.c: bugfix for eval_quasiquote: stay in quasiquote mode after next quote.
|
2016-07-17 09:06:48 +02:00 |
|
Jan Nieuwenhuizen
|
d21d4aecfc
|
guile runs macro-based mes:define-syntax, mes runs but yields *undefined*.
|
2016-07-17 00:03:14 +02:00 |
|
Jan Nieuwenhuizen
|
be12facd6d
|
support define-macro inside eval (i.e., inside define-macro)
|
2016-07-16 23:35:07 +02:00 |
|
Jan Nieuwenhuizen
|
d1a089caed
|
mes.c: move define, define-macro into begin_env, remove loop. fixes inner defines.
|
2016-07-16 22:43:13 +02:00 |
|
Jan Nieuwenhuizen
|
21a5e16a88
|
define-syntax...
|
2016-07-16 21:53:32 +02:00 |
|
Jan Nieuwenhuizen
|
d53ea79a5d
|
syntax...
|
2016-10-18 22:19:57 +02:00 |
|
Jan Nieuwenhuizen
|
44b26569a6
|
implement variable-argument and, or.
|
2016-07-16 20:02:14 +02:00 |
|
Jan Nieuwenhuizen
|
47fd339305
|
implement let loop.
|
2016-07-16 19:10:04 +02:00 |
|
Jan Nieuwenhuizen
|
b638d33e4b
|
cleanup let, let*, letrec
|
2016-07-16 17:57:19 +02:00 |
|
Jan Nieuwenhuizen
|
dc8325ded3
|
implement unquote-splicing, cleanup some macros
|
2016-07-16 17:18:11 +02:00 |
|
Jan Nieuwenhuizen
|
02dc00d11c
|
update macro, fix andmap.
|
2016-07-16 13:24:38 +02:00 |
|
Jan Nieuwenhuizen
|
c1886195e6
|
add scheme apply, rename apply-> apply_env.
|
2016-07-16 08:17:56 +02:00 |
|
Jan Nieuwenhuizen
|
08b1a52af2
|
syntax.mes: experiments...
|
2016-07-16 07:56:50 +02:00 |
|
Jan Nieuwenhuizen
|
cf0c3ef42e
|
support cond without match, define-macro x (lambda)).
|
2016-07-16 07:56:01 +02:00 |
|
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 |
|