aboutsummaryrefslogtreecommitdiff
path: root/examples/add.c
blob: 1c43c9b741ccf0b98d761cadb3db0c4c5efe28d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
}