Wojciech Nawrocki
1d57ffb4d7
refactor: shuffle classes to avoid dependency loops
2021-08-01 09:58:44 +02:00
Wojciech Nawrocki
b3316fd9c2
feat: RPC handlers
2021-07-24 10:45:28 +02:00
Wojciech Nawrocki
4b3987c9cb
feat: LSP request handler registration
2021-06-15 22:53:19 +02:00
Leonardo de Moura
ed4504929d
refactor: add Server/Completion.lean
...
Add environment extension for black listing declaritions for completion.
2021-04-02 11:10:06 -07:00
Wojciech Nawrocki
5426c44e49
feat: launch server from main Lean shell
2020-12-23 20:00:36 +01:00
Wojciech Nawrocki
bb8f438560
chore: adapt to upstream
2020-12-23 20:00:36 +01:00
Leonardo de Moura
f53721e1c9
chore: adapt code to previous change
2020-12-23 08:31:20 -08:00
Leonardo de Moura
ae5aa51712
chore: add explicit discard
2020-12-08 06:18:18 -08:00
Leonardo de Moura
0869f38de4
chore: update structure, class, inductive
2020-11-27 15:09:30 -08:00
Leonardo de Moura
898a08a0c1
chore: avoid Has prefix in type classes
...
closes #203
2020-10-27 18:29:19 -07:00
Leonardo de Moura
13c2a8ff51
chore: remove #lang lean4 header
2020-10-25 09:54:07 -07:00
Leonardo de Moura
0c89dca20e
chore: move to new frontend
2020-10-21 17:09:24 -07:00
Leonardo de Moura
0abca5475f
refactor: move ppExpr to IO
...
@Kha I am also tracking `currNamespace` and `openDecls`.
BTW, I also tried an experiment where I added `currNamespace` and
`openDecls` to `Meta.Context`, but it looked weird. This information
is only needed in the elaborator and pretty printer.
The `PPContext` object should contain everything you need. You
can put `currNamespace` and `openDecls` in the `Delaborator.Context`.
2020-09-15 18:48:21 -07:00
Sebastian Ullrich
7083aeea83
chore: adapt to upstream
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
bbcc718c8d
chore: more server fixes
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
7b9363c828
refactor: simplify document storage in server
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
633acebd0f
chore: server style fixes
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
7a7a14c8b9
chore: no leading commas
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
17acb78bb1
fix: more lenient server shutdown params
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
f3d640a7cf
feat: report parser errors in server
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
4356017035
chore: copyright
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
23feb04d60
chore: clean up LSP code style and add more definitions from the spec
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
098c7af1b6
feat: server tests
2020-08-31 06:50:01 -07:00