Allow language features "levels"

Issue #23 new
Chris Phillips
repo owner created an issue

Allow particular language features to be "disabled" or not recognized by the parser.

This should be via a command line switch. The features could be disabled by either:

Making the parser not recognize the syntax (possibly hard or awkward to implement and could be more difficult to diagnose)

Make LingoComponent (or derived classes) understand about disabled features and raise a clear exception.

Make the CFG break while creating the graph if it finds an unsupported language component.

The second option is probably the best.