Reduct  v1.0.4-3-gdaf0d70
A functional and immutable language.
Loading...
Searching...
No Matches
core_impl.h File Reference
#include "error.h"
#include "atom.h"
#include "core.h"
#include "eval.h"
#include "gc.h"
#include "item.h"
Include dependency graph for core_impl.h:

Go to the source code of this file.

Functions

REDUCT_API reduct_treduct_new (reduct_error_t *error)
 Create a new Reduct structure.
 
REDUCT_API void reduct_free (reduct_t *reduct)
 Free the Reduct structure.
 
REDUCT_API void reduct_args_set (reduct_t *reduct, int argc, char **argv)
 Set the command line arguments for the Reduct structure.
 
REDUCT_API void reduct_constant_register (reduct_t *reduct, const char *name, reduct_item_t *item)
 
REDUCT_API reduct_input_treduct_input_new (reduct_t *reduct, const char *buffer, reduct_size_t length, const char *path, reduct_input_flags_t flags)
 Create a new input structure and push it onto the input stack.
 

Function Documentation

◆ reduct_constant_register()

REDUCT_API void reduct_constant_register ( reduct_t reduct,
const char *  name,
reduct_item_t item 
)

Definition at line 101 of file core_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function: