#include "../include/parser.h" #include int main() { const char *code = "value1 = 1\n" "value2 = true\n" "value3 = null\n" "value4 = \"hello world\"\n" "value5 = {\"hello\", \"world\", 5}\n" "value6 = {\"hello\": \"world\", \"value\": 23}\n" "value7 = fn () {}\n" "value8 = fn (value) {}\n" "value9 = {\n" " \"hello\": \"world\",\n" " \"sayHello\": fn() {\n" " \n" " }\n" "}\n" "\n" "str = value9[\"hello\"]\n" "value9[\"sayHello\"]()"; return tsl_parse(code, strlen(code)); }