[SCM] Lisaac compiler branch, master, updated. lisaac-0.12-458-g590cd04
ontologiae
ontologiae at ordinateur-de-ontologiae.local
Fri Aug 28 22:21:42 UTC 2009
The following commit has been merged in the master branch:
commit 590cd0496670e98d6d76c5c29564b2fb2123424c
Author: ontologiae <ontologiae at ordinateur-de-ontologiae.local>
Date: Sat Aug 29 00:20:49 2009 +0200
new syntax
diff --git a/lib/kernel/i_dont_know_prototyping.li b/lib/kernel/i_dont_know_prototyping.li
index 9e78623..d0f380b 100644
--- a/lib/kernel/i_dont_know_prototyping.li
+++ b/lib/kernel/i_dont_know_prototyping.li
@@ -23,7 +23,7 @@ Section Header
+ name := I_DONT_KNOW_PROTOTYPING;
- - copyright := "2003-2007 Benoit Sonntag";
+ - copyright := "2003-2007 Benoit Sonntag; another idiot : Pierre-Alex";
- comment := "Facility, but it's not in prototype spirit.";
@@ -33,12 +33,12 @@ Section Public
// Conditional.
//
- - if cond:BOOLEAN then true_block:BLOCK :BOOLEAN <-
+ - if cond:BOOLEAN then true_block:{} :BOOLEAN <-
(
cond.if true_block
);
- - if cond:BOOLEAN then true_block:BLOCK else false_block:BLOCK <-
+ - if cond:BOOLEAN then true_block:{} else false_block:{} <-
(
cond.if true_block else false_block;
);
@@ -47,17 +47,17 @@ Section Public
// Loop.
//
- - while cond:BLOCK do body:BLOCK <-
+ - while cond:{} do body:{} <-
(
cond.while_do body;
);
- - do body:BLOCK while cond:BLOCK <-
+ - do body:{} while cond:{} <-
(
body.do_while cond;
);
- - repeat body:BLOCK until cond:BLOCK <-
+ - repeat body:{} until cond:{} <-
(
body.do_until cond;
);
@@ -70,4 +70,4 @@ Section Public
(
str.print;
);
-
\ No newline at end of file
+
--
Lisaac compiler
More information about the Lisaac-commits
mailing list