Git Product home page Git Product logo

antlr4-grammars's Issues

Inquiry on contributing to ANTLR grammars for 1C Language

Hi there

I have ANTLR grammars for the 1C language, and I'm interested in contributing to the project. Could you please outline the necessary steps for becoming a contributor? I'm willing to attempt adding support for this language if you can provide a brief overview of what needs to be done.

Looking forward to your guidance.

Rename "range" to "range_" to allow plsql to be generated

diff --git a/Makefile b/Makefile
index c736ddb..bce3572 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ grammars-v4:
 # and creates a slightly different set of named files. This makes it
 # difficult to have one file. This is the best hack that keeps Make
 # working correctly.
-BUILD=sh -c '\
+BUILD=bash -c '\
        basedir=$$PWD; \
        errors=$$0/$$(basename $$1).log; \
        mkdir -p $$0; \
@@ -1029,7 +1029,9 @@ plsql plsql/plsql_test.go: plsql/plsqlparser_base_listener.go plsql/plsqlparser_
 plsql/doc.go: plsql/plsql_test.go

 %/plsqlparser_base_listener.go %/plsqlparser_listener.go %/plsql_parser.go: grammars-v4/plsql/PlSqlParser.g4 plsql/plsql_lexer.go
-       ${BUILD} plsql grammars-v4/plsql/PlSqlParser.g4 plsql/plsqlparser_base_listener.go plsql/plsqlparser_listener.go plsql/plsql_parser.go
+       mkdir -p grammars-v4/plsql/mod
+       sed -e 's/range/range_/g' grammars-v4/plsql/PlSqlParser.g4 >grammars-v4/plsql/mod/PlSqlParser.g4
+       ${BUILD} plsql grammars-v4/plsql/mod/PlSqlParser.g4 plsql/plsqlparser_base_listener.go plsql/plsqlparser_listener.go plsql/plsql_parser.go

 %/plsql_lexer.go: grammars-v4/plsql/PlSqlLexer.g4
        ${BUILD} plsql grammars-v4/plsql/PlSqlLexer.g4 plsql/plsql_lexer.go

Make the documentation nicer

On this page there is a list of subpackages, but no short descriptions. Update the doc.go files to have a short description of the package (and take the long name of the grammar out of the pom.xml).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.