While putting a Python parsing module through it's paces, I whipped up
a grammer spec for DX script and fed it the OpenDX example .nets and
script files. I noticed two things relevent to DX:
First, I had to add the "$sync" directive to the grammer to parse the
network files. I coded the grammer from the detailed description in
Chapter 10 of the User's Guide ("Data Explorer Scripting Language"), and it
covers everything except $sync. $sync is however casually mentioned in the
Executive() module docs. Perhaps Chapter 10 should mention it, and also
define what it does in user terms (the source comments have a bit to say
about it).
Second, with $sync added the grammer parsed all of the examples nets
and scripts successfully, except for scripts/Supervise example. Seems
there's an "eoc main();" at the end that isn't a valid statement.
"dx -script" confirms this.
Randy
--
Randall Hopper
[EMAIL PROTECTED]