64a0fe4255d338420978ae2c8aba09c628a3fa6c
P4RSE: P4 Runtime In Swift Environment
P4RSE (yes, the acronym is a bit forced) is a P4 parser and runtime written in Swift. The project was started as a means to better learn Swift.
Status
Very, very alpha:
- Limited parts of the language can be parsed.
- Limited programs can be evaluated.
Please check back often!
Building
Generating Documentation
To build the documentation:
$ swift package generate-documentation
To preview the generated documentation:
$ swift package swift package --disable-sandbox preview-documentation --target <some target>
For more information, see the documentation for the Swift-DocC plugin.
Languages
Swift
88.3%
JavaScript
10.7%
P4
0.9%