File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -784,10 +784,6 @@ julia> @interpret sum(a)
7847848
785785```
786786"""
787- macro interpret(ex0)
788- return interpret(__module__, ex0)
789- end
790-
791- macro interpret(xs... )
792- return interpret(__module__, xs... )
787+ macro interpret(ex0, exs... )
788+ return interpret(__module__, ex0, exs... )
793789end
Original file line number Diff line number Diff line change 33
44An interpreter that subtypes this type can implement its own evaluation strategies, by
55overloading the certain methods in JuliaInterpreter that are defined for this base type.
6- The default behaviors of `Interpreter` is same as that of [`RecursiveInterpreter`](@ref),
6+ The default behavior of `Interpreter` is same as that of [`RecursiveInterpreter`](@ref),
77meaning it will recursively interpret all `:call` expressions.
88"""
99abstract type Interpreter end
@@ -13,6 +13,8 @@ abstract type Interpreter end
1313
1414`RecursiveInterpreter` is an [`Interpreter`](@ref) that recursively interprets any `:call`
1515expressions in the code being interpreted.
16+
17+ With this interpreter, code runs in fully interpreted mode; it will never be compiled for execution.
1618"""
1719struct RecursiveInterpreter <: Interpreter end
1820
@@ -23,7 +25,7 @@ struct RecursiveInterpreter <: Interpreter end
2325in the code being interpreted using Julia's normal code execution engine with the native
2426compiler.
2527
26- `JuliaInterpreter.Compiled` is alised to `NonRecursiveInterpreter` for backward compatibility.
28+ `JuliaInterpreter.Compiled` is aliased to `NonRecursiveInterpreter` for backward compatibility.
2729"""
2830struct NonRecursiveInterpreter <: Interpreter end
2931
You can’t perform that action at this time.
0 commit comments