@[reducible, inline]
Map from dialect names to all the declaration parsers brought into scope for that dialect.
Equations
Instances For
def
StrataDDM.Elab.DialectParsers.addDialect!
(pm : DialectParsers)
(pctx : Parser.ParsingContext)
(dialect : Dialect)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Information about dialects.
- dialects : DialectMap
- Map from dialect names to the dialect definition.
- dialectParsers : DialectParsers
Parsers for dialects in map.
- syntaxElabMap : SyntaxElabMap
/ Map for elaborating operations and functions.
Instances For
Equations
Instances For
@[implicit_reducible]
Equations
@[reducible]
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
- StrataDDM.Elab.SyntaxElabMap.ofDialects ds = Array.foldlM (fun (x1 : StrataDDM.Elab.SyntaxElabMap) (x2 : StrataDDM.Dialect) => x1.addDialect x2) ∅ ds
Instances For
Equations
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
@[reducible, inline]
Equations
Instances For
The dialect file mapping maintains a mapping from dialect names to the file to read for loading this dialect.
It is used to identify where to find dialects that have not yet been
loaded into LoadedDialects. It also holds a mutable reference to
the LoadedDialects that is updated as dialects are loaded.
This structure is not safe for concurrent use by multiple threads,
as concurrent dialect loading could produce conflicting updates to
the shared LoadedDialects reference.
- loaded : IO.Ref Elab.LoadedDialects
Mutable reference to loaded dialects.
Instances For
Equations
Instances For
Equations
- fm.getLoaded = ST.Ref.get fm.loaded
Instances For
def
StrataDDM.DialectFileMap.modifyLoaded
(fm : DialectFileMap)
(f : Elab.LoadedDialects → Elab.LoadedDialects)
:
Equations
- fm.modifyLoaded f = ST.Ref.modify fm.loaded f
Instances For
Equations
- StrataDDM.DialectFileMap.strata_dialect_ext = ".dialect.st"
Instances For
Equations
- StrataDDM.DialectFileMap.strata_ion_dialect_ext = ".dialect.st.ion"
Instances For
def
StrataDDM.DialectFileMap.addEntry
(m : DialectFileMap)
(stem : DialectName)
(enc : Encoding)
(path : System.FilePath)
:
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
- StrataDDM.DialectFileMap.ofDirs dirs init = Array.foldlM (fun (m : StrataDDM.DialectFileMap) (dir : System.FilePath) => m.add dir) init dirs