Code Monkey home page Code Monkey logo

vijaypapineni / grammars-v4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antlr/grammars-v4

0.0 2.0 0.0 12.76 MB

Grammars written for ANTLR v4; expectation that the grammars are free of actions.

ANTLR 25.75% Java 3.15% Visual Basic 0.03% C 0.06% C++ 0.01% Makefile 0.01% Shell 0.05% Erlang 0.05% HTML 56.91% Lua 0.01% M 0.12% MATLAB 0.01% Objective-C 2.86% Pascal 0.29% PHP 0.17% PLSQL 0.19% SQLPL 0.03% PLpgSQL 0.01% Swift 1.77% VHDL 8.55%

grammars-v4's Introduction

grammars-v4

Grammars written for ANTLR v4

This repository is a collection of grammars without actions where the root directory name is the all-lowercase name of the language parsed by the grammar. For example, java, cpp, csharp, c, etc...

Beware of the licenses on the individual grammars. THERE IS NO COMMON LICENSE! When in doubt or you don't know what you're doing, please use the BSD or MIT license.

Testing the Grammars

The directory /support/antlr4test-maven-plugin contains a maven plugin which compiles the grammars and then runs them against examples in the /examples subdirectory to verify that the grammars compile and produce a clean parse for each example.

To use the plugin, you will have to compile and install it.

cd support/
mvn clean package install

You can then test all grammars:

mvn clean test

Travis Status

grammars-v4's People

Contributors

teverett avatar parrt avatar rainerschuster avatar bkiers avatar cowang avatar kvanttt avatar jamesladd avatar amedranogil avatar grosenberg avatar z0rgy avatar exkazuu avatar normandunbar avatar lrlucena avatar embmicro avatar cmejia avatar adrianherrera avatar bpellens avatar timeraider4u avatar danilaml avatar letusfly85 avatar grfrost avatar denisgav avatar boot-print avatar xavierpinho avatar hoesler avatar catull avatar camiloasc1 avatar vitorelli avatar popas90 avatar nuaimat avatar

Watchers

James Cloos avatar Vijaya Krishna Papineni avatar

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.