Back to The P4 Language Consortium
GSoC 2026

Enhancing P4-SpecTec Usability: A Mechanized Specification for Nano-P4

P4-SpecTec provides mechanized formal semantics for the P4 language, but its adoption is currently limited by a lack of accessible learning resources. New users face a steep learning curve in understanding how to write, execute, and utilize mechanized specifications in practice. This project proposes to improve the usability of P4-SpecTec by developing a tutorial-style documentation centered around nano-P4, a minimal subset of the language. The tutorial will guide users through writing mechanized specifications, executing them, and generating specification documents, providing a hands-on introduction to the framework. The technical scope includes constructing a complete nano-P4 specification within P4-SpecTec, designing detailed examples, and demonstrating workflows for specification execution and document generation. The end result will be a practical and reproducible learning resource for onboarding new users.

Project details

Contributor

Haechan Kwon

Mentors

Not available

Technologies

Not listed in the archive