Yes it was meant colloquially, like "the syntax tree describes the actual underlying structure of the flat list of EDIFACT segments".
36 karma · joined March 15, 2013
You define the syntax tree once, then parse, validate, or pretty-print messages against that structure. It works by converting the syntax tree to a state machine of possible transitions between segments.
All the Python code execution is happening in your browser using Pyodide (a port of CPython to WebAssembly), so once the page is loaded, it should work even without internet.
You can even use GitHub pages to serve this statically. So I did: https://alexprengere.github.io/python_playground/