processorFromStringForGoal

fun processorFromStringForGoal(grammarDefinitionStr: String, goalRuleName: String, syntaxAnalyser: SyntaxAnalyser? = null, formatter: Formatter? = null, semanticAnalyser: SemanticAnalyser? = null): LanguageProcessor

Create a LanguageProcessor from a grammar definition string

grammarDefinitionStr may contain multiple grammars

when { goalRuleName.contains(".") use before '.' to choose the grammar else use the last grammar in the grammarDefinitionStr }