mhulden / foma

Automatically exported from code.google.com/p/foma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Request: "Otherwise" rule

GoogleCodeExporter opened this issue · comments

If there is a character that can take multiple values, it would be useful, if 
there existed an "otherwise" rule.

Example: §aoe§ set up in the .lexc file can be a, o or e.
in .foma file:
define Ruleforaoe §aoe§-> a // Rule1,,
                  §aoe§-> o // Rule2 | Rule3,,
                  §aoe§-> e // _Otherwise_;

The advantage for the user, that he does not have to think out any special rule 
for passing the value 'e' to the character, just simply say _Otherwise_. 

Original issue reported on code.google.com by eleonor...@gmx.net on 20 Feb 2012 at 3:46