User data type

Lua makes it possible to expose C/C++ objects to scripting.

This is called a ‘userdata’ type.

When we show an HL7/X12 tree as comes from the hl7.parse routine (see ) this is a C++ data structure that we expose to Lua.