Anonymous user
Arithmetic evaluation: Difference between revisions
→{{header|Elena}}
(→{{header|Java}}: code cleanup, consistent indentation) |
|||
Line 1,061:
=={{header|Elena}}==
ELENA 3.
<lang elena>import system'routines.
import extensions.
Line 1,147:
}
operatorState
[
ch =>
$40 [ // (
^
];
! [
^
].
]
tokenState
[
ch =>
$41 [ // )
^
];
$42 [ // *
^
];
$43 [ // +
^
];
$45 [ // -
^
];
$47 [ // /
^
];
! [
^
].
]
startState
[
ch =>
$40 [ // (
^
];
$45 [ // -
^
];
! [
^
].
]
class Scope
|