Skip to content

Commit

Permalink
first commit of smiles
Browse files Browse the repository at this point in the history
  • Loading branch information
teverett committed Nov 11, 2017
1 parent ce7b85b commit 1b5c5f8
Show file tree
Hide file tree
Showing 7 changed files with 420 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -136,6 +136,7 @@
<module>sexpression</module>
<module>sharc</module>
<module>smalltalk</module>
<module>smiles</module>
<module>smtlibv2</module>
<module>snobol</module>
<module>sparql</module>
Expand Down
3 changes: 3 additions & 0 deletions smiles/README.md
@@ -0,0 +1,3 @@
# OpenSmiles

An ANTLR4 grammar for [OpenSmiles](http://opensmiles.org/) files.
1 change: 1 addition & 0 deletions smiles/examples/biphenyl.txt
@@ -0,0 +1 @@
c1ccccc1-c2ccccc2
1 change: 1 addition & 0 deletions smiles/examples/methane.txt
@@ -0,0 +1 @@
[CH4]
1 change: 1 addition & 0 deletions smiles/examples/uranium.txt
@@ -0,0 +1 @@
[U]
55 changes: 55 additions & 0 deletions smiles/pom.xml
@@ -0,0 +1,55 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>smiles</artifactId>
<packaging>jar</packaging>
<name>khubla.com smiles grammar</name>
<parent>
<groupId>com.antlr.grammarsv4</groupId>
<artifactId>grammarsv4</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr.version}</version>
<configuration>
<sourceDirectory>${basedir}</sourceDirectory>
<grammars>smiles.g4</grammars>
<visitor>true</visitor>
<listener>true</listener>
</configuration>
<executions>
<execution>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.khubla.antlr</groupId>
<artifactId>antlr4test-maven-plugin</artifactId>
<version>${antlr4test-maven-plugin.version}</version>
<configuration>
<verbose>false</verbose>
<showTree>true</showTree>
<entryPoint>smiles</entryPoint>
<grammarName>smiles</grammarName>
<packageName></packageName>
<exampleFiles>examples/</exampleFiles>
</configuration>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 1b5c5f8

Please sign in to comment.