diff options
| author | David Moc <personal@cdatgoose.org> | 2026-05-30 21:53:05 +0200 |
|---|---|---|
| committer | David Moc <personal@cdatgoose.org> | 2026-05-30 21:53:05 +0200 |
| commit | e930cc6bdc7f62befac063d7d9d016ffb0a64f1a (patch) | |
| tree | 52118a1e990ae88f5f0410c8caea129609e22e19 /include/eval.h | |
Added the old repo, refactored it, added the C jit.
Diffstat (limited to 'include/eval.h')
| -rw-r--r-- | include/eval.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/eval.h b/include/eval.h new file mode 100644 index 0000000..ca722c2 --- /dev/null +++ b/include/eval.h @@ -0,0 +1,17 @@ +#ifndef ECEX_EVAL_H +#define ECEX_EVAL_H + +#include "types.h" + +int ecex_eval_source(ecex_t *ed, + const char *source, + const char *filename, + int wrap_as_statements); + +int ecex_eval_current_buffer(ecex_t *ed); +int ecex_eval_current_line(ecex_t *ed); +int ecex_eval_current_region(ecex_t *ed); +int ecex_eval_file(ecex_t *ed, const char *path); +int ecex_eval_rerun_last(ecex_t *ed); + +#endif |
