Add interactive tool playground to sx-tools page

New defisland ~sx-tools/tool-playground: paste SX source, click a tool
button, see the output. 7 tools run client-side in the browser:
summarise, read-tree, find-all, validate, get-context, serialize,
hypersx.

Each uses the same SX functions the MCP server uses: sx-parse for
parsing, tree walking for annotation/summarise/find, sx-serialize for
round-trip, sx->hypersx for alternative syntax.

Pre-loaded with a sample defcomp. Users can paste any SX and explore
all the comprehension tools interactively.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 08:34:20 +00:00
parent b98e5b83de
commit dc72aac5b1
2 changed files with 129 additions and 1 deletions

File diff suppressed because one or more lines are too long