Compare commits
No commits in common. "f59df97c84c6bef755b46d92fd208df4b790005e" and "ebf9ab24f75ef3aa1afb66365e05ace1c3526158" have entirely different histories.
f59df97c84
...
ebf9ab24f7
|
@ -1,4 +1,6 @@
|
||||||
.*
|
.*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
*.[io]lean
|
|
||||||
/result
|
*.olean
|
||||||
|
/build
|
||||||
|
/lake-packages
|
||||||
|
|
|
@ -75,7 +75,7 @@ the environment might be setup like this:
|
||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
LIB="../lib"
|
LIB="../lib"
|
||||||
LIB_MATHLIB="$LIB/mathlib4/.lake"
|
LIB_MATHLIB="$LIB/mathlib4/lake-packages"
|
||||||
export LEAN_PATH="$LIB/mathlib4/build/lib:$LIB_MATHLIB/aesop/build/lib:$LIB_MATHLIB/Qq/build/lib:$LIB_MATHLIB/std/build/lib"
|
export LEAN_PATH="$LIB/mathlib4/build/lib:$LIB_MATHLIB/aesop/build/lib:$LIB_MATHLIB/Qq/build/lib:$LIB_MATHLIB/std/build/lib"
|
||||||
|
|
||||||
LEAN_PATH=$LEAN_PATH build/bin/pantograph $@
|
LEAN_PATH=$LEAN_PATH build/bin/pantograph $@
|
||||||
|
|
13
doc/repl.md
13
doc/repl.md
|
@ -11,8 +11,8 @@ See `Pantograph/Protocol.lean` for a description of the parameters and return va
|
||||||
* `env.inspect {"name": <name>, "value": <bool>}`: Show the type and package of a
|
* `env.inspect {"name": <name>, "value": <bool>}`: Show the type and package of a
|
||||||
given symbol; If value flag is set, the value is printed or hidden. By default
|
given symbol; If value flag is set, the value is printed or hidden. By default
|
||||||
only the values of definitions are printed.
|
only the values of definitions are printed.
|
||||||
* `env.save { "path": <fileName> }`, `env.load { "path": <fileName> }`: Save/Load the
|
* `env.save { path }`, `env.load { path }`: Save/Load the current environment
|
||||||
current environment to/from a file
|
to/from a file
|
||||||
* `options.set { key: value, ... }`: Set one or more options (not Lean options; those
|
* `options.set { key: value, ... }`: Set one or more options (not Lean options; those
|
||||||
have to be set via command line arguments.), for options, see `Pantograph/Protocol.lean`
|
have to be set via command line arguments.), for options, see `Pantograph/Protocol.lean`
|
||||||
|
|
||||||
|
@ -39,11 +39,10 @@ See `Pantograph/Protocol.lean` for a description of the parameters and return va
|
||||||
- `{ "goals": <names> }`: Resume the given goals
|
- `{ "goals": <names> }`: Resume the given goals
|
||||||
* `goal.remove {"stateIds": [<id>]}"`: Drop the goal states specified in the list
|
* `goal.remove {"stateIds": [<id>]}"`: Drop the goal states specified in the list
|
||||||
* `goal.print {"stateId": <id>}"`: Print a goal state
|
* `goal.print {"stateId": <id>}"`: Print a goal state
|
||||||
* `goal.save { "id": <id>, "path": <fileName> }`, `goal.load { "path": <fileName> }`:
|
* `goal.save{ id, path }`, `goal.load { path }`: Save/Load a goal state to/from a
|
||||||
Save/Load a goal state to/from a file. The environment is not carried with the
|
file. The environment is not carried with the state. The user is responsible
|
||||||
state. The user is responsible to ensure the sender/receiver instances share
|
to ensure the sender/receiver instances share the same environment.
|
||||||
the same environment.
|
* `frontend.process { ["fileName": <fileName>",] ["file": <str>], invocations:
|
||||||
* `frontend.process { ["fileName": <fileName>,] ["file": <str>], invocations:
|
|
||||||
<bool>, sorrys: <bool> }`: Executes the Lean frontend on a file, collecting
|
<bool>, sorrys: <bool> }`: Executes the Lean frontend on a file, collecting
|
||||||
either the tactic invocations (`"invocations": true`) or the sorrys into goal
|
either the tactic invocations (`"invocations": true`) or the sorrys into goal
|
||||||
states (`"sorrys": true`)
|
states (`"sorrys": true`)
|
||||||
|
|
Loading…
Reference in New Issue