Files
gp4/README.md
T
Will Hawkins c3fdfb62e8 Refactor Type System
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
2026-02-06 07:46:18 -05:00

762 B

P4RSE: P4 Runtime In Swift Environment

P4SE (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:

  1. Limited parts of the language can be parsed.
  2. 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.