Refactor headers, distinguish public and private

This commit is contained in:
2022-11-22 15:50:18 -05:00
parent f19f672d05
commit 13062a5b86
20 changed files with 152 additions and 93 deletions

14
include/uclisp.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _UCLISP_H_
#define _UCLISP_H_
struct ucl_scope;
struct ucl_object;
struct ucl_object *ucl_tokenize(const char *source);
struct ucl_object *ucl_parse(const char *sexp);
struct ucl_object *ucl_evaluate(struct ucl_scope *state, struct ucl_object *sexp);
// TODO: State encapsulation is all wonky here)
void ucl_gc();
#endif