diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-08-02 01:20:12 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-09-25 02:40:23 +0200 |
| commit | 288727f09a1b3458c268497d111349e608c3f9fa (patch) | |
| tree | d62565249fa3c7127856c65405752572fc41aca9 /src_c/syntax.h | |
Diffstat (limited to 'src_c/syntax.h')
| -rw-r--r-- | src_c/syntax.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src_c/syntax.h b/src_c/syntax.h new file mode 100644 index 0000000..55a6516 --- /dev/null +++ b/src_c/syntax.h @@ -0,0 +1,17 @@ +#ifndef LISP16_SYNTAX_H +#define LISP16_SYNTAX_H + +#include "builtin.h" + + +extern lsp_builtin_entry_t lsp_syntaxes[]; + +lsp_status_t lsp_syntax_lambda(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_syntax(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_define(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_set(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_begin(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_quote(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); +lsp_status_t lsp_syntax_if(lsp_env_t *e, lsp_addr_t ctx, lsp_addr_t args); + +#endif |
