Skip to content

Releases: tomasanchez/SSL

Infix Calculator

11 Dec 18:21
Compare
Choose a tag to compare

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

Calculator v1.0

16 Nov 14:46
Compare
Choose a tag to compare

07-CalcInfMan 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.

At this current version calculator allows scanning and parsing and solving expression such as:

Numbers: 1
Variables: A (As 0 Value).
Expressions: 1+2
Expressions with brackets: (1+2)*5

Calculator v0.1

12 Nov 17:16
Compare
Choose a tag to compare

06-CalcInfMan 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.

At this current version calculator allows scanning and parsing simple operands and operators.