RISC JKU

at.jku.risc.stout.hoau.data

Class InputParser



  • public class InputParser
    extends Object
    Tiny term parser with the following rules: (The described rules use the default configuration. You can change the special symbols and/or the variable range.)
    • The symbols A-Z, a-z, 1-9 are allowed for variable names and function names. Names can be of any length.
    • If the first letter of the name is within [u,z] or [U,Z], then it is a free variable.
    • The backslash "\" is used for the lambda symbol. The name followed by the lambda symbol will become a bound variable.
    • The colon ":" is used to declare the type. Type specification is optional for every single symbol.
    • The dash "-" is used as type constructor.
    Author:
    Alexander Baumgartner