well, I have some doubts about getting started on ANTLR4 in JavaScript. I am already able to generate the necessary files but I don´t know what to do with them.
I tried to follow the JavaScript target tutorial in the documentation and didn't understand the part of "How getting the run time in my browser" as a result I ended up with this doubts:
I don't know where to include all the files that antlr4 generated in a JavaScript project.
I had already used Flex/Bison for some projects I did on C++ and I was able to use it but with JavaScript Antlr4 seems confuse when I tried to do some samples.For example; I already created my grammar file called "hello.g4" and when I use the "antlr4" command I previously set up, it gives me the next files:
so, here is where the problems comes, because I really want to do so with it, I mean, in an Html file with a text box inside, I want to make the input from that text box trigger a JavaScript function which recognize the pattern written in the grammar file called "Hello.g4".
I hope you can help me.
Best regards.