💾 Archived View for jb55.com › ward.asia.wiki.org › sweet-little-language captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Sweet Little Language

I'm designing a little language that can run in a web page.

I'll divide the page into three sections, the program, the start buttons and the output.

The output will have two parts, the normal output and the trace output that shows every line of the program as it runs. There will be two buttons too. Run will produce just output. Trace will produce trace and normal output.

Click any version to launch an interpreter.

Choose View Page Source to see the implementation.

Try the latest version here.

Improvements

v1 defines the parts of the page.

v2 shows, saves and runs a print-only program

v3 add a stack for intermediate results

Alain Marty shared a 1.5 version in Turing complete lambdatalk. page page

page

page