- dialect (loc : SourceRange) (name : DialectName) : Header
- program (loc : SourceRange) (name : DialectName) : Header
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Elaborate a dialect after the initial header with the name of dialect has been processed.
Use fm to ensure dialect and all of its imports are loaded into ld.
This always returns a new loaded dialect map as some imports may be loaded successfully before a failure. It returns either an error message as a string or a dialect.
N.B. We may need to amend the error message in the future to provide more structure (such as error location information).
Equations
- StrataDDM.Elab.loadDialect fm dialect = StrataDDM.Elab.loadDialectRec✝ fm #[] dialect
Instances For
Load a dialect from a file, using actualPath for reading and path
for error reporting. Returns the loaded dialect or an array of error
messages.
Equations
- StrataDDM.Elab.loadDialectFromFile fm path actualPath = StrataDDM.Elab.loadDialectFromPath✝ fm #[] path actualPath
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Parse a single syntax category from a loaded dialect set.
Unlike parseStrataProgramFromDialect, this targets a specific syntax
category (e.g. q\SMTResponse.GetValueResponse) rather than parsing a full program of Command`s. This avoids ambiguity issues that arise when
multiple categories share the same surface syntax.
Returns the elaborated Operation on success.
Equations
- One or more equations did not get rendered due to their size.