comment out most honu macro stuff

svn: r16660
This commit is contained in:
Jon Rafkind 2009-11-10 19:18:06 +00:00
parent 8dff3dca74
commit 9c0c1ec591

View File

@ -1,5 +1,7 @@
#lang honu
// display(1);
/*
=>
@ -12,21 +14,48 @@ x = function(q){
x(start);
*/
macro (to do end) {{ for looper:id = first:expr to last:expr do
body
end
/*
// display(syntax ...);
macro (to2){{fuz
x ... to2
}}
{{
display(x);
...
}}
fuz 5 6 to2
// macro (to = do end) {{ for looper:id = first:expr to last:expr do
/*
macro (to = do end) {{ for looper = first to last do
body ...
}}
{{
/* display(2); */
var x = function(looper){
display(body); newline();
body ...
if (looper < last){
x(looper+1);
}
};
x(first);
}}
/*
for2 x = 1 to 10 do
display(x);
newline();
end
*/
for x = 1 to 10 do
x
end
display(x);
newline();
*/
*/