Lane Explorer
Work-in-progress preview. This shows what is coming: the compiler that will run here in your browser is on its way, so the generated code below is sample output.
Drop a .ln file, several files or a folder anywhere on this page, or choose them. main.ln is the entry. Everything stays in this browser; nothing is uploaded.
Limits: 128 files, 4 MiB in all. Source must be ASCII.
Source main.ln
Loading the compiler.
Generated code
The listing appears here.
About the Explorer
Write Lane as text or edit it as a node graph, and see the code generated for each instruction set at each optimization level the compiler offers for it. Every instruction is linked to the source line it came from, to the nodes of that line, and back.
The compiler runs in your browser, in a Web Worker: nothing is uploaded and there is no server to store anything on. The link you copy holds the compressed source, the instruction set and the optimization level in its address; a program of several dropped files has no link.
A function's examples and promises (test and assume lines) are shown passing or failing in the text, in the graph and in the Contracts list. A line that was not run says so and never shows a verdict.
The in-browser compiler is coming. Until it is here, the page shows sample output: the instructions, and the tree, text and type check of the graph, are made up by the page and are not produced by the compiler.