New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jvm-krl-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jvm-krl-parser

extracting the KRL parser from KRE

0.0.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

jvm-krl-parser

extracting the KRL parser from KRE

Running

$ java -jar parser/krl_parser.jar <your-krl-file>

That will output the ast in json.

From node.js

$ npm install --save jvm-krl-parser
var parser = require('jvm-krl-parser');

parser(krl_file_path, function(err, ast){
  // ...
});

Contributing

The antlr grammar file is here: parser/RuleSet.g

The main class entry-point for the jar is here: parser/src/KRLParser.java

To re-compile the jar:

$ cd parser/
$ ./compile.sh

License

MIT

Keywords

krl

FAQs

Package last updated on 02 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts