librdesc
Loading...
Searching...
No Matches
Functions
bc_interpreter.h File Reference

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>
Include dependency graph for bc_interpreter.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.
 

Detailed Description

Basic interpreter for bc.