--
You received this message because you are subscribed to the Google Groups "Jsonnet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsonnet+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsonnet/456BFFDA-6A0C-4AB6-B036-32155460A6CE%40modusbox.com.
On Jul 6, 2023, at 11:27 AM, Dave Cunningham <dcu...@google.com> wrote:
Also there is a scala version and a rust version that may have a parser you can use. A long time ago there was an attempt to reimplement jsonnet in raw java but I'm not sure how far it got.
BTW are you aware of https://github.com/grafana/jsonnet-language-server and if so why do you want to write a new one in java?
On Thu, 6 Jul 2023 at 19:05, Dave Cunningham <dcu...@google.com> wrote:
There is nothing official because implementations have just had handwritten recursive descent parsers.
Maybe this post from a while ago might be useful? https://groups.google.com/g/jsonnet/c/jOMepyno6ag/m/4kv_OnIjCAAJ
On Thu, 6 Jul 2023 at 15:42, 'Eugene Berman' via Jsonnet <jso...@googlegroups.com> wrote:
I’m not sure if this has been asked before, but I’m wondering if BNF exists for Jsonnet, something I can use to generate a parser code, say, using a Knife parser generator.I’m trying to build a Java implementation of the language server for jsonnet and the lack of Java parser seems to be the showstopper.Many thanks!E.
---
<AIorK4xFjgCa8iJ5-ACzLOMCaeFSO-_xI_b0OkflhTkVs43sJed7TIzkVSDTcOjHCGkM3TDt5_s-BXQ.png>
Eugene BermanPrincipal Architect7525 SE 24th St, Suite 510Mercer Island WA 98040
To view this discussion on the web visit https://groups.google.com/d/msgid/jsonnet/57FE1DB5-8A7D-4CA8-8A91-E6A8078ACE8F%40portx.io.