aboutsummaryrefslogtreecommitdiff
path: root/examples/add.c
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-01-10 02:37:23 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-01-10 02:37:23 +0300
commitea1cd66193d64bb1cd56c24f0db011eadbf558e6 (patch)
tree9447d65fc7c31833842dcb8564a45a60c9ec2c14 /examples/add.c
parenta0f273300aec59d31eb332e531efd8249fc67f20 (diff)
downloadcsx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar
csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.tar.xz
csx-ea1cd66193d64bb1cd56c24f0db011eadbf558e6.zip
Optimizations + human-readable translator output.
Diffstat (limited to 'examples/add.c')
-rw-r--r--examples/add.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/add.c b/examples/add.c
deleted file mode 100644
index 1c43c9b..0000000
--- a/examples/add.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <csx.h>
-#include <stdio.h>
-
-
-static csx_list_fn *l;
-static csx_int_fn *i;
-
-
-int main()
-{
- l = csx_list;
- i = csx_int;
- char *plus = csx_name("+");
- printf("%d\n", *(int *)csx_run(l(plus, i(37), i(73), 0)));
- csx_free();
- return 0;
-}