go-lang-idea-plugin
Grammar-Kit
Our great sponsors
go-lang-idea-plugin | Grammar-Kit | |
---|---|---|
2 | 4 | |
4,569 | 689 | |
0.0% | 0.6% | |
0.0 | 5.5 | |
over 5 years ago | 7 months ago | |
Java | Java | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-lang-idea-plugin
-
How to write your own language plugin for IDEA (part 1)
go-plugin (now this plugin is known as Goland)
-
How to write your own language plugin for IDEA (part 2)
In the previous article, I showed the process of creating a framework for a language plugin. Well-known plugins for Java, go, Frege were used as examples. There are also examples from the plugin for the Monkey language, which I developed while I was figuring out how everything works. Since my goal was not to cover everything, the plugin covers a limited subset of the language. The interpreter for Monkey can be found here.
Grammar-Kit
-
You are never taught how to build quality software
I offer, again, my JetBrains GrammarKit counterpoint from the last time that assertion came up <https://news.ycombinator.com/item?id=38192427>
>>>
I consider the JetBrains parsing system to be world class and they seem to hand-write very few (instead building on this system: https://github.com/JetBrains/Grammar-Kit#readme )
- https://github.com/JetBrains/intellij-community/blob/idea/23... (the parser I'll concede, as they do seem to be hand-rolling that part)
- https://github.com/JetBrains/intellij-community/blob/idea/23... (same for its parser)
- https://github.com/JetBrains/intellij-community/blob/idea/23... and https://github.com/JetBrains/intellij-community/blob/idea/23...
- https://github.com/JetBrains/intellij-plugins/blob/idea/233.... and https://github.com/JetBrains/intellij-plugins/blob/idea/233....
-
Nelua, AOT statically typed Lua
I want to start adding support for Lua derivatives to my IDE (which adds static type checking to Lua - inference, structural & nominal types, generics etc. (Luanalysis - https://github.com/Benjamin-Dobell/IntelliJ-Luanalysis/)
I feel like plugin support would be best but I've no idea how that's supposed to work in the presence of a predefined grammar. There's also so many variants I don't think there's a good way to build composite grammar.
Does anyone have any ideas about how to extend language parsing? For reference, I'm using https://github.com/JetBrains/Grammar-Kit.
-
How to write your own language plugin for IDEA (part 1)
In IDEA, code generation by the GrammarKit plugin is mainly used to create a parser. Unfortunately, there is not much documentation about it and it is only presented in Tutorial and HOWTO.
-
Luanalysis v1.3.0 Released - Open Source Statically typed Lua IDE
Luanalysis is built atop https://github.com/JetBrains/Grammar-Kit, so can't eaisly be integrated in other languages servers.
What are some alternatives?
vim-go - Go development plugin for Vim
IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA
coc-go - Go language server extension using gopls for coc.nvim.
JFlex - The fast scanner generator for Javaâ„¢ with full Unicode support
GoSublime - A Golang plugin collection for SublimeText 3, providing code completion and other IDE-like features.
intellij-erlang - Erlang IDE
Go for Visual Studio Code
intellij-rainbow-brackets - 🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
vscode-go - Go extension for Visual Studio Code
intellij-haskforce - Haskell plugin for IntelliJ IDEA
Goclipse
intellij-frege - IntelliJ IDEA plugin for Frege language