LeS language Online Editor
LeS language grammar:
Lexer
Parser
INPUT TREE - cmd
ret{ /context/online/editor = null; /path/check/success = true; /content/data = 4; /sourceCode = "log(global.lang.builtins());"; }
ONLINE EDITOR
ret/greek/alphabet = string(cmd/path/check) ~ " - alpha"; var/iter = cmd/content/data; while (var/iter) { ret/path[path(ret/path)][`_` ~ var/iter] = true; ret[3*cmd/content/data - var/iter*2] = true; var/iter--; } exec{ /pattern = cur; /source{ /type/les = 1.0; /name = "ONLINE"; /code = cmd/sourceCode; } /input = null; }; ret/builtins/raw = global.lang.builtins(); foreach (ret/builtins/raw) ret/builtins[] = key.replace("/", ".", "code.", "") ~ "()";
OUTPUT TREE - ret
ret = empty;
LOGS
: [2025-10-05 09:30:13.7928566] Run time 17 ms, 528 μs, and 8 hnsecs
-
+