An open API service indexing awesome lists of open source software.

https://github.com/dduan/peg

Parsing Expression Grammar implemented in Swift.
https://github.com/dduan/peg

peg swift

Last synced: 7 months ago
JSON representation

Parsing Expression Grammar implemented in Swift.

Awesome Lists containing this project

README

          

# PEG

A Swift implementation of [Parsing Expression Grammar][0].

For an example of usage, see [ArithmeticParserGenerationTests][1].

*This is written for my own curiosity. Using in production is not recommended.*

[0]: http://bford.info/pub/lang/peg.pdf
[1]: https://github.com/dduan/PEG/blob/master/Tests/PEGTests/ArithmeticParserGenerationTests.swift