Add /deps.sh, in /linapple remove full-screen mode to make it run properly on recent...
[applesoft_basic.git] / float_literal.txt
1 we need a way for the lexer file to contain multi-line expressions,
2 or at least a reliable way to add comments, for now keep a copy here
3
4 (?E{t_def.FloatLiteral}
5   (
6     (?E{t_def.FloatLiteral.Integer}
7       (?E{t_def.Text.Char}[0-9])
8       (\ *(?E{t_def.Text.Char}[0-9]))*
9     )
10     (?E{t_def.FloatLiteral.Fraction}
11       ""
12     )
13     |
14     (?E{t_def.FloatLiteral.Integer}
15       ((?E{t_def.Text.Char}[0-9])\ *)*
16     )
17     (?E{t_def.FloatLiteral.Fraction}
18       \.
19       (\ *(?E{t_def.Text.Char}[0-9]))*
20     )
21   )
22   (?E{t_def.FloatLiteral.Exponent}
23     \ *E
24     (?E{t_def.FloatLiteral.Sign}
25       (\ *(?E{t_def.Text.Char}[+-]))?
26     )
27     \ *
28     (?E{t_def.FloatLiteral.Integer}
29       (?E{t_def.Text.Char}[0-9])
30       (\ *(?E{t_def.Text.Char}[0-9]))*
31     )
32   )?
33 )