SMILES Formal Grammar Revisited
Richard L. Apodaca · 2020
A previous article presented a formal grammar for the SMILES language. Its most notable feature was the lack of left-recursion, which enables simple, efficient parsers to be written. However, that first attempt left some room for improvement. In this article, a new grammar is presented that addresses outstanding points. Limitations of Previous Grammar Limitations of the previous grammar included: Multiple unbounded quantifiers.