From abf2f865f0db71f2988d097597f9fe02902160e0 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 30 Sep 2009 04:24:27 +0000 Subject: [PATCH] *** empty log message *** --- xex.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/xex.txt b/xex.txt index d2805c1..bf25c8f 100644 --- a/xex.txt +++ b/xex.txt @@ -98,12 +98,11 @@ INTTERM = INT | VAR (value is INT) | FUNCALL (return INT) STRTERM = STR | VAR (value is STR) | FUNCALL (return STR) SYMTERM = SYMBOL | VAR (value is SYMBOL) | FUNCALL (return SYMBOL) LISTTERM = LIST | VAR (value is LIST) | FUNCALL (return LIST) -ANYTERM = TERM ;; Here after, when an argument is TERM, it is given to a function ;; without being evaluted. Otherwise, an evaluated term is given. -SET = '' ANYTERM '' +SET = '' TERM '' ADD = '' INTTERM + '' | '' INTTERM + '' SUB = '' INTTERM + '' @@ -128,8 +127,8 @@ EQ = '' INTTERM INTTERM '' NOTEQ = '' INTTERM INTTERM '' GE = '' INTTERM INTTERM '' GT ='' INTTERM INTTERM '' -APPEND = '' ANYTERM + '' - | '' ANYTERM + '' +APPEND = '' TERM + '' + | '' TERM + '' CONCAT = '' [ INTTERM | STRTERM | LISTTERM ] + '' | '' [ INTTERM | STRTERM | LISTTERM ] + '' LENGTH = '' [ STRTERM | LISTTERM ] '' @@ -147,8 +146,8 @@ COND = '' LIST + '' LOOP = '' TERM + '' WHILE = '' TERM + '' FOREACH = '' TERM + '' -BREAK = '' ANYTERM ? '' -RETURN = '' ANYTERM ? '' +BREAK = '' TERM ? '' +RETURN = '' TERM ? '' QUOTE = '' TERM '' EVAL = '' TERM '' -TYPE = '' ANYTERM '' +TYPE = '' TERM '' -- 1.7.10.4