Humboldt-Universität zu Berlin ZE Rechenzentrum (CMS) Abt. Systemsoftware und Kommunikation Dr. rer. nat. Andreas Kunert |
KW_BOOLEAN | "bool" |
KW_DO | "do" |
KW_ELSE | "else" |
KW_FLOAT | "float" |
KW_FOR | "for" |
KW_IF | "if" |
KW_INT | "int" |
KW_PRINTF | "printf" |
KW_RETURN | "return" |
KW_VOID | "void" |
KW_WHILE | "while" |
PLUS | "+" |
MINUS | "-" |
ASTERISK | "*" |
SLASH | "/" |
ASSIGN | "=" |
EQ | "==" |
NEQ | "!=" |
LSS | "<" |
GRT | ">" |
LEQ | "<=" |
GEQ | ">=" |
AND | "&&" |
OR | "||" |
COMMA | "," |
SEMICOLON | ";" |
LPAREN | "(" |
RPAREN | ")" |
LBRACE | "{" |
RBRACE | "}" |
CONST_INT | {INTEGER} |
CONST_FLOAT | {FLOAT} ( [eE] ([-+])? {INTEGER} )? |
| | {INTEGER} [eE] ([-+])? {INTEGER} |
CONST_BOOLEAN | "true" | "false" |
ID | ({LETTER})+ ({DIGIT} | {LETTER})* |
DIGIT | [0-9] |
INTEGER | {DIGIT}+ |
FLOAT | {INTEGER} "." {INTEGER} | "." {INTEGER} |
LETTER | [a-zA-Z] |
C-Kommentare | "/*" <comment> "*/" |
C++-Kommentare | "//" <comment> "\n" |
Page created: Tuesday, 06-Apr-2004 13:30:00 MET DST Last update: Friday, 14-February-2014 17:53:48 CET Datenschutzerklärung |