Gremlin browser code editor

Hi, I'm looking for a code editor like monaco https://microsoft.github.io/monaco-editor/ to embed in my browser app that supports Gremlin (even very basic completion, etc.). Monaco doesn't have this out of the box and I was wondering if there is one out there?
Solution:
I can definitely chime in but the short answer is no - I'm actually planning to switch to Monaco in G.V(), best answer I can provide is that there are plenty guides available out there on how to integrate Monaco with an ANTLR grammar to provide both syntax error detection and editor suggestions (with the added use of antlr4-c3 on npm). A quick google search of monaco antlr4 should give you a step by step guide on all that. That being said if you want a fully featured Gremlin query editor you're not gonna find anything better than G.V() wink wink...
Jump to solution
4 Replies
spmallette
spmallette13mo ago
@G.V() - Gremlin IDE (Arthur) any hints on this one?
Solution
gdotv
gdotv13mo ago
I can definitely chime in but the short answer is no - I'm actually planning to switch to Monaco in G.V(), best answer I can provide is that there are plenty guides available out there on how to integrate Monaco with an ANTLR grammar to provide both syntax error detection and editor suggestions (with the added use of antlr4-c3 on npm). A quick google search of monaco antlr4 should give you a step by step guide on all that. That being said if you want a fully featured Gremlin query editor you're not gonna find anything better than G.V() wink wink
gdotv
gdotv13mo ago
The gremlin ANTLR grammar is under the gremlin-language repo in the official Apache Tinkerpop repository and it should be ready to use as is (it's great)
Dragos Ciupureanu
Thanks @G.V() - Gremlin IDE (Arthur) and @spmallette . That's along the lines of my finding but I hadn't come across the antlr grammar for gremlin until now so thanks for the suggestion.
Want results from more Discord servers?
Add your server