Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An ANTLR4 grammar for RDDL files.

License

NotificationsYou must be signed in to change notification settings

GMMDMDIDEMS/antlr4-rddl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An ANTLR4 grammar for RDDL files.

Installation

Theantlr4ng package is required forTypeScript code generation. It can be installed via

npm i

For the generation ofJava code, theANTLR4 grammar syntax support package is used. To adopt the folder structure as specified in this repository, you must add the following to yoursettings.json

"antlr4.generation": {"outputDir":"../../generated/Java","mode":"external","listeners": true,"visitors":true  }

Code Generation

Java code is automatically generated as soon as one of the.g4 files is saved.

ForTypeScript code, either run

npm run build

or use the following command

antlr4ng -Dlanguage=TypeScript -o src/main/generated/TypeScript/ -visitor -listener -Xexact-output-dir src/main/grammar/antlr4/RDDLLexer.g4 src/main/grammar/antlr4/RDDLParser.g4

Further Development and Resources

References

About

An ANTLR4 grammar for RDDL files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp