Skip to content
WoodleyPackard edited this page Aug 6, 2015 · 14 revisions

Debugging Features in LUI mode

The LUI mode can be activated with the -l option, assuming yzlui exists on PATH (also see AceFaq). While in LUI mode, lots of additional debugging features are available as "colon" commands:

  • :c get the parse chart of the last processed item
    :r rule display the AVM of a grammar rule (e.g. :r sb-hd_mc_c)
    :t type display the AVM of a grammar type (e.g. :t synsem)
    :l lex-entry display the AVM of a lexical entry (e.g. :l sleep_v1)
    :g one two compute the GLB of types one and two (e.g. :g + -); results will be shown as text, not in a GUI
    :h type show the local supertypes and subtypes of type (e.g. :h head); also shown as text
    :trigger [rule] in generation mode, show which trigger rules fired and why; when rule is provided (e.g. :trigger does1_pos_rule3) , it will show more information about the particular rule (including why an unused rule didn't fire); results are shown as text
Clone this wiki locally