I have been using ANTLR to generate a parser + tree grammar for a mark up language with Java target which works fine. Now I am trying to get the target in JavaScript to use it in my web browser.   However, I have not been able to locate any good docu...
I'm trying to integrate my JavaScript ANTLR4 parser with my CodeMirror based text editor. I investigated on how to integrate the parser and wrote the following code:  // Parser     var antlr4 = require('antlr4/index');      // load nodejs...
I'm trying to code a software which should execute instructions of a basic programming language only with these capabilities:   Arithmetic expression evaluator (add,minus,mult,divide,parenthesis,...) if-else statement Function definition   And it...
I'm trying to translate PLSQL code to JavaScript code. I'm using Antlr4 with this grammar: https://github.com/developeron29/PLSQLParser.  I've used the listener to translate pieces of code, something like this:  @Override public void ente...
I've implemented a basic grammar for ANTLR4 to build a JavaScript interpreter from a Simple Javascript-esque language.  When I run my script to transform the code (parsing/generation/transpilation) I get  TypeError: ctx.INT is not a function whic...
I'm new to the world of formal grammars. I tried to use ANTLR for JS but couldn't figure out how to run the parser. I'm trying to develop a grammar for a DSL on PEG.js and this is what I have (http://peg.arcanis.fr/3T2PKD/):  start    = e...
I am trying to do my own language with antlr4. I manged to create my own grammar and make my own Visitor which compiles my language.  Now, I am trying to build simple GUI interface for my language. However I am quite confused with idea how to do it,...
I am busy trying to get a large old JavaScript project to build with Webpack (via Vue CLI). I have had some success just treating the .js files as ES6 modules and adding imports and exports as needed. One of the files is part generated by ANTLR 3. Th...
Using the antlr4-ace-ext tokenizer for the ace editor, is it possible to access the parser associated with the ace session so that I could navigate the parse tree as if I were going to compile the source in the editor? My project is configured almost...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.