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.
- Host: GitHub
- URL: https://github.com/dduan/peg
- Owner: dduan
- License: mit
- Created: 2017-09-15T04:16:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-15T17:31:13.000Z (over 7 years ago)
- Last Synced: 2025-01-29T07:26:13.293Z (over 1 year ago)
- Topics: peg, swift
- Language: Swift
- Homepage:
- Size: 66.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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