... by interpreting them (imported or not) on the fly instead of storing them in the environment /cc @leodemoura
9 lines
175 B
Text
9 lines
175 B
Text
import Lean
|
|
|
|
open Lean
|
|
|
|
def test (stx : Unhygienic Syntax) : MetaM Unit :=
|
|
PrettyPrinter.ppTerm stx.run >>= IO.println
|
|
|
|
-- test imported `ParserDescr`
|
|
#eval test `(s!"hi!")
|