summaryrefslogtreecommitdiff
path: root/basic.h
diff options
context:
space:
mode:
authorTom Harley2019-10-03 02:42:28 +0100
committerTom Harley2019-10-03 02:42:28 +0100
commit64d093247985f759669b7726542291382c1e3fc5 (patch)
tree4b8324373c4b267cd1affcab8a8ece20b920323b /basic.h
parentInitial commit (diff)
downloadsinter-64d093247985f759669b7726542291382c1e3fc5.tar.gz
sinter-64d093247985f759669b7726542291382c1e3fc5.zip

Support + and * operations

Diffstat (limited to 'basic.h')
-rw-r--r--basic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/basic.h b/basic.h
index 679bf89..574b0b8 100644
--- a/basic.h
+++ b/basic.h
@@ -21,6 +21,7 @@ sexpr *new_int(int num);
sexpr *new_float(float num);
sexpr *new_id(char *id);
sexpr *new_node(sexpr *l, sexpr *r);
+sexpr *new_str(char *str);
void print_sexpr(sexpr *contents);
void codegen(sexpr *sexpr);