librdesc
Loading...
Searching...
No Matches
bc.h File Reference

Basic calculator. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Basic calculator.

A lightweight arithmetic expression evaluator designed to demonstrate the capabilities of librdesc in handling standard algebraic grammars.

Note
Disambiguation: This module is not related to the POSIX bc (arbitrary-precision calculator language). It is a minimal demonstration implementation named strictly for "Basic Calculator".

Language features:

This header provides the exact same API as boolean_algebra.h. You may inspect the source code of bc.h directly. bc_interactive.c uses this grammar and bc_interpreter.h to implement an interactive calculator.

See also
bc_interpreter.h

Definition in file bc.h.