From: handa Date: Wed, 30 Sep 2009 04:24:27 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=abf2f865f0db71f2988d097597f9fe02902160e0;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- 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 ''