|
librdesc
|
Basic interpreter for bc. More...
#include "../../include/cst_macros.h"#include "../../include/rdesc.h"#include "../../include/util.h"#include "../../src/common.h"#include "../grammar/bc.h"#include <stdint.h>#include <string.h>#include <stdlib.h>Go to the source code of this file.
Functions | |
| static double | bc_pow10 (int i) |
| Raises 10 to the power of i. | |
| static double | bc_interpreter (struct rdesc *p, struct rdesc_node *n) |
| Interprets CST of bc. | |
| static void | bc_tk_destroyer (uint16_t tk, void *seminfo_) |
| Frees seminfo of a bc token. | |
Basic interpreter for bc.
Definition in file bc_interpreter.h.
|
inlinestatic |
Interprets CST of bc.
Definition at line 33 of file bc_interpreter.h.
|
inlinestatic |
Raises 10 to the power of i.
Definition at line 22 of file bc_interpreter.h.
|
inlinestatic |
Frees seminfo of a bc token.
Definition at line 128 of file bc_interpreter.h.