Write a language server using the language server protocol. The server would live in a separate repo. It would be cool if the server was implemented in Nitrogen but that would be stretching Nitrogen's limitations. Although lexer/parser in Nitrogen would be an interesting project. Maybe do the heavy lifting in as a native method that converted the AST to a map or array of maps or something.
MVP would be simple, autocomplete suggestions for current file. Maybe function header docs. Maybe hover docs. Cross package help would wait for a later version.
The Lua implementation looks good. The pattern it uses would be relatively portable to Nitrogen.
Write a language server using the language server protocol. The server would live in a separate repo. It would be cool if the server was implemented in Nitrogen but that would be stretching Nitrogen's limitations. Although lexer/parser in Nitrogen would be an interesting project. Maybe do the heavy lifting in as a native method that converted the AST to a map or array of maps or something.
MVP would be simple, autocomplete suggestions for current file. Maybe function header docs. Maybe hover docs. Cross package help would wait for a later version.
The Lua implementation looks good. The pattern it uses would be relatively portable to Nitrogen.