Menu

[Solved]Bison Flex Calculator Https Githubcom Package Bison Flex Calculator Cs Assignment Scientif Q37029449

# Bison-Flex-Calculator (https://github.com/Package/Bison-Flex-Calculator)CS Assignment – scientific calculator using Bison & Flex, with additonal functionality implemented in C## Functionality * Basic arithmetic following BODMAS rules e.g, 4 * (3 + 2) = 20* Standard functions (modulo, ceil, abs, floor) * Logarithmic functions (log2, log10)* Trig functions (cos, sin, tan)* Hyperbolic functions (cosh, sinh, tanh)* Conversions (currency, temperature, distance) * Variable stores (create and use your own variables. See example)* Can read input the command line or a file## Example![example screenshot](http://i.imgur.com/FArh5XE.png “Example use of the calculator”)## Requirements1. Bison (needs adding to PATH on windows)2. Flex (needs adding to PATH on windows)3. gcc compiler## Compile and execute1. bison -d gram.y2. flex lex.l3. gcc gram.tab.c lex.yy.c -lm -o scientific-calc4. scientific-calc

I look at the source code but couldnt do it by my self if youcan solve it i will appreciate to you.

Expert Answer


Answer to # Bison-Flex-Calculator (https://github.com/Package/Bison-Flex-Calculator) CS Assignment – scientific calculator using … . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *