Leonardo de Moura
16f7bef88f
chore: remove old frontend leftovers
2020-10-26 09:08:07 -07:00
Leonardo de Moura
13c2a8ff51
chore: remove #lang lean4 header
2020-10-25 09:54:07 -07:00
Leonardo de Moura
fa3c32d3b1
chore: remove adaptExcept
2020-10-22 16:56:23 -07:00
Leonardo de Moura
943687ad09
chore: move to new frontend
...
@Kha all files at `src/Lean` and `src/Std` have been moved to the new
frontend :)
Next target `src/Init`
2020-10-21 17:31:25 -07:00
Leonardo de Moura
d5612320d7
chore: move to new frontend
2020-10-21 17:12:56 -07:00
Leonardo de Moura
e54a207986
refactor: provide Options to lean_eval_const
...
add `ImportM` monad for `addImportedFn`
cc @Kha
2020-10-19 10:21:38 -07:00
Leonardo de Moura
b72ebe87bd
chore: move to new frontend
...
@Kha All files at `src/Lean/Elab` are now being compiled with the new
frontend. We can finally claim our elaborator can elaborate itself :)
It is 22% of our code base.
2020-10-16 12:34:07 -07:00
Leonardo de Moura
ef01053d58
fix: set mainModuleName in the new frontend
2020-10-15 15:30:03 -07:00
Sebastian Ullrich
c54d51b0c9
chore: go back to previous bootstrapping scheme where the stage N+1 stdlib is created using the stage N compiler
2020-09-24 18:57:53 +02:00
Sebastian Ullrich
7083aeea83
chore: adapt to upstream
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
f3d640a7cf
feat: report parser errors in server
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
70cf20c0ab
feat: document Emacs setup
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
Wojciech Nawrocki
86968b5c45
feat: fix UTF-8/16 and add ServerM monad
...
Emojis work now 🎉
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
58551721ee
chore: namespaces
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
e1db04d347
feat: more robust snapshot-based recompilation
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
e137fa780f
feat: WIP snapshots
...
Allow interactive editing by only recompiling parts of the file below the edit.
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
0405fde21f
feat: handle hovers with null replies
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
c089ccb9c6
fix: omit header on didChange
...
This won't do because it breaks parsing if the header changes and recompiles all commands, but it's fine as a temporary fix.
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
a4cb8249d9
chore: fixup after rebase
2020-08-31 06:50:01 -07:00
Marc Huisinga
1b3d254dd0
feat: add emptyEnv and add initSearchPath temporarily so that server binary finds LEAN_PATH
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
c40ccfe399
feat: readme
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
6581ceba3e
feat: handle close and shutdown
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
86582ac73c
feat: edits seem to work now
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
2de92bf9bb
fix: correct line numbers
2020-08-31 06:50:01 -07:00
Wojciech Nawrocki
46803ca25b
feat: working diagnostics (modulo line numbers)
2020-08-31 06:50:01 -07:00
Marc Huisinga
e7b3d0be59
feat: initial server implementation
2020-08-31 06:50:01 -07:00