Commit b77c0dc9 authored by Fred Eisele's avatar Fred Eisele
Browse files

added antlr4 parser and tests

parent 5326d433
Loading
Loading
Loading
Loading
+16 −2
Changes for README.md: 16 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -23,17 +23,31 @@ http://categoricaldata.net/fql.jar
	
For best results, compile using the [Eclipse IDE](https://eclipse.org/jdt/).

### Maven (may or may not work)
### Gradle

    git clone https://github.com/CategoricalData/fql.git
    cd fql
    mvn package
    gradle run --args="-p antlr"
    
or for the default parser

    gradle run --args="-p combinator"

Editor Support
--------------

- AQL mode for Emacs https://github.com/epost/aql-mode

In order to prepare the configuration files for an editor.

    gradle idea
    
or
   
    gradle eclipse
    
The open the project from the appropriate IDE.

License
-------

+34 −4
Changes for pom.xml: 34 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -62,6 +62,27 @@
                    </execution>
                </executions>
            </plugin>
            <!-- 
            <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>build-helper-maven-plugin</artifactId>
               <version>3.0.0</version>
               <executions>
                 <execution>
                   <id>add-antlr4-source</id>
                   <phase>generate-sources</phase>
                   <goals>
                     <goal>add-source</goal>
                   </goals>
                   <configuration>
                     <sources>
                       <source>${basedir}/gen_src</source>
                     </sources>
                   </configuration>
                </execution>
              </executions>
            </plugin>
            -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-eclipse-plugin</artifactId>
@@ -85,7 +106,7 @@
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>3.0.2</version>
                <version>3.1.0</version>
                <configuration>
                    <archive>
                        <manifest>
@@ -164,6 +185,9 @@
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.21.0</version>
                <configuration>
		          <skipTests>false</skipTests>
		        </configuration>
            </plugin>
        </plugins>
    </build>
@@ -180,6 +204,12 @@
      </snapshotRepository>
    </distributionManagement>
    <dependencies>
        <!-- https://mvnrepository.com/artifact/commons-cli/commons-cli -->
        <dependency>
            <groupId>commons-cli</groupId>
            <artifactId>commons-cli</artifactId>
            <version>1.4</version>
        </dependency>
        <dependency>
            <groupId>net.sourceforge.collections</groupId>
            <artifactId>collections-generic</artifactId>
@@ -204,7 +234,7 @@
        <dependency>
            <groupId>com.h2database</groupId>
            <artifactId>h2</artifactId>
            <version>1.4.196</version>
            <version>1.4.197</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish</groupId>
@@ -253,14 +283,14 @@
        <dependency>
            <groupId>org.antlr</groupId>
            <artifactId>antlr4</artifactId>
            <version>4.7</version>
            <version>4.7.1</version>
        </dependency>

        <!-- https://mvnrepository.com/artifact/com.opencsv/opencsv -->
        <dependency>
            <groupId>com.opencsv</groupId>
            <artifactId>opencsv</artifactId>
            <version>4.1</version>
            <version>4.2</version>
        </dependency>
        <dependency>
          <!-- https://github.com/bobbylight/AutoComplete -->
Loading