Skip to content

Commit

Permalink
update readme. project done??
Browse files Browse the repository at this point in the history
  • Loading branch information
jamestrew committed Dec 31, 2023
1 parent 6b6b03a commit 02b689a
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# monkey-language-server
LSP server for monkey
LSP server for [monkey](https://interpreterbook.com/#the-monkey-programming-language) (with some liberties taken).

Just wanted to write an LSP server in Rust and see what it takes to turn ideas from an interpreter into a language server (it was much harder 😅).


## Features (demo)
Showcase of features implemented inside of neovim (with [tree-sitter highlighting](https://github.com/jamestrew/tree-sitter-monkey)).

- [x] diagnostics

![image](https://github.com/jamestrew/monkey-language-server/assets/66286082/0351ee18-631c-4492-8ebd-46199bd91d4b)

- [x] go to definition

https://github.com/jamestrew/monkey-language-server/assets/66286082/24e9af97-d515-4cdf-8b19-e0aa7b0edd5f

- [x] find references

https://github.com/jamestrew/monkey-language-server/assets/66286082/76897e41-445b-4a40-a13b-7aa31aac64e1

- [x] completion

https://github.com/jamestrew/monkey-language-server/assets/66286082/01f5547d-212e-49a0-ae3f-fcf5dd60be0f

- [x] hover (with light type inferences)

https://github.com/jamestrew/monkey-language-server/assets/66286082/c30943bd-f5f3-4ec6-b40d-e20f5355e399

0 comments on commit 02b689a

Please sign in to comment.