Project

General

Profile

Context-free grammar

GUI

An expanding GUI can be constructed for any context-free grammar by mapping types as follows:

symbol type GUI element
regexp text field
picklist of symbols dropdown menu
picklist of symbols or regexp dropdown menu with "other" option
recursive symbol nested fieldset containing the fields for that symbol (appears when selected in a dropdown menu)