09-CalcInfAutoV2
is a simple calculator made as an assignment being its objective learn about ANSI-C compiling, syntax and semantics found in a scanner and a parser, made using Flex
for scanner generating and Bison
for parser
At this current version calculator allows scanning and parsing and solving expression such as:
Numbers: 1
Variables: A, with starting value 0.
Expressions: 1+2
Assignments: let A = 1
Calculations: let B = ( 2 + 3 ) * 9 * A + 12 * 4 * ( 2 + A )
Expressions with brackets: (1+2)*5