LispBM
env.h
Go to the documentation of this file.
1 
2 /*
3  Copyright 2018 Joel Svensson svenssonjoel@yahoo.se
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef ENV_H_
20 #define ENV_H_
21 
22 #include "lbm_types.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 //environment interface
33 int lbm_init_env(void);
98 // Internal use
107  lbm_value args,
108  lbm_value env0);
109 
110 #ifdef __cplusplus
111 }
112 #endif
113 #endif
lbm_value lbm_env_drop_binding(lbm_value env, lbm_value key)
lbm_value lbm_get_env(void)
lbm_value lbm_env_copy_spine(lbm_value env)
lbm_value lbm_env_set(lbm_value env, lbm_value key, lbm_value val)
lbm_value lbm_env_set_functional(lbm_value env, lbm_value key, lbm_value val)
bool lbm_env_lookup_b(lbm_value *res, lbm_value sym, lbm_value env)
lbm_value lbm_env_modify_binding(lbm_value env, lbm_value key, lbm_value val)
int lbm_init_env(void)
lbm_value * lbm_get_env_ptr(void)
lbm_value lbm_env_lookup(lbm_value sym, lbm_value env)
lbm_value lbm_env_build_params_args(lbm_value params, lbm_value args, lbm_value env0)
uint32_t lbm_value
Definition: lbm_types.h:43