Skip to content

metamolecular/inchi-grammar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InChI Grammar

Documentation of InChI syntax as a formal grammar in W3C EBNF notation. This work in progress currently recognizes the prefix, formula (partial), connections, and h_atoms layers.

Run Tests

The test suite is written in Ruby and uses the EBNF gem. Test strings are contained in strings.txt. To install the harness and run the tests:

cd test
bundle install --path vendor/bundle
ruby test.rb

License

InChI Grammar is distributed under the terms of the MIT License. See LICENSE-MIT and COPYRIGHT for details

About

A formal grammar for the IUPAC InChI identifier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages