From: handa Date: Wed, 30 Sep 2009 04:11:38 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d42f6c7d4ea06fec44c84d25097be67a0664318;p=m17n%2Fm17n-lib-cs.git *** empty log message *** --- diff --git a/input.txt b/input.txt index 0e626ce..3317850 100644 --- a/input.txt +++ b/input.txt @@ -19,11 +19,19 @@ MAPLIST = '' MAP * '' STATELIST = '' STATE * '' MODULE = '' DEFUN-NAME + '' -DEFUN-NAME = '' +DEFUN-NAME = '' + +COMMAND + = '' + DESCRIPTION ? + KEYSEQ * + '' MAP = '' RULE * '' -RULE = '' [ KEYSEQ | COMMAND-REF ] FUNCALL * '' +RULE = '' [ KEYSEQ | CMDREF ] FUNCALL * '' + +CMDREF = '' STATE = '' BRANCH * '' @@ -32,7 +40,7 @@ BRANCH = ... TERM += MIM-TERM PREDEFINED += MIM-PREDEFEIND -MIM-TERM = KEYSEQ MARKER +MIM-TERM = KEYSEQ | MARKER KEYSEQ = '' [ INTTERM | STRTERM | SYMTERM ] + '' KEYSEQTERM = KEYSEQ | VAR (value is KEYSEQ) | FUNCALL (return KEYSEQ) @@ -40,10 +48,26 @@ KEYSEQTERM = KEYSEQ | VAR (value is KEYSEQ) | FUNCALL (return KEYSEQ) MARKER = '' SYMTERM '' MARKERTERM = MARKER | VAR (value is MARKER) | FUNCALL (return MARKER) +SELECTOR = '' SYMTERM '' +SELECTORTERM = SELECTOR | VAR (value is SELECTOR) | FUNCALL (return SELECTOR) -MIM-PREDEFINED = MARK MOVE PUSHBACK ... +MIM-PREDEFINED + = INSERT | CANDIDATES | DELETE | SELECT | SHOW | HIDE + | MARK | MOVE | PUSHBACK | POP | UNDO | COMMIT | UNHANDLE + | SHIFT | SHIFTBACK +INSERT = '' [ INTTERM | STRTERM ] '' +CANDIDATES = '' [ STRTERM | LISTTERM ] '' +DELETE = '' [ MARKERTERM | INTTERM ] '' +SELECT = '' +SHOW = '' +HIDE = '' MOVE = '' [ MARKERTERM | INTTERM ] '' MARK = '' MARKERTERM '' PUSHBACK = '' [ KEYSEQTERM | INTTERM ] '' -... +POP = '' +UNDO = '' INTTERM ? '' +COMMIT = '' +UNHANDLE = '' +SHIFT = '' SYMTERM '' +SHIFTBACK = ''