Git Product home page Git Product logo

colinclark / 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 13.61 MB

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

ANTLR 31.93% GAP 0.29% Python 0.05% Java 3.16% Visual Basic 0.03% C 0.06% C++ 0.01% C# 0.49% Makefile 0.01% Shell 0.05% Erlang 0.05% HTML 57.32% Lua 0.01% M 0.12% MATLAB 0.01% Objective-C 2.88% Pascal 0.30% Assembly 2.88% PHP 0.17% PLSQL 0.19%

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 kvanttt avatar cowang avatar jamesladd avatar amedranogil avatar grosenberg avatar retailcoder avatar normandunbar avatar z0rgy avatar exkazuu avatar renatahodovan avatar stephendrew avatar lrlucena avatar embmicro avatar cmejia avatar adrianherrera avatar pascalgn avatar bpellens avatar camiloasc1 avatar timeraider4u avatar danilaml avatar thosakwe avatar letusfly85 avatar grfrost avatar denisgav avatar curiosag avatar boot-print avatar

Watchers

James Cloos avatar Colin Clark 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.