Next: Regular Expressions in JLex
Up: No Title
Previous: Using a Scanner Generator
- Apart from the special characters ? * + | ( ) $ / ; . = < > [ ] { } " and blank,
every character stands for itself.
- After the special characters lose their special meaning.
- Between double quotes " all special characters but
" lose their special meaning.
- The following escape sequences are recognized: b n t f r ddd xdd udddd C c.
- | and () have the same meaning as in EBNF.
- {name} refers to the non-terminal name
- name = E is used to define non-terminals.
- E* is the same as EBNF { E }.
ab* is the same as EBNF "a" { "b" }.
- E? is the same as EBNF [ E ].
- E+ is the same as EBNF E { E }.
Christoph Zenger
3/23/2000