oxidecomputer / oxidecomputer/p4

Nice to have explicit instructions to see the Rust code generated from a P4 program

Open
#63 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
137
Forks
12
Avg merge
4d 22h
Merged PRs (30d)
3

Description

Maybe such instructions are already in this repo somewhere, and I missed them. Happy to be pointed to those, if they exist.

If not, it would be nice to see how one can generate Rust code from a P4 source program, and store the resulting Rust code in a file somewhere.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the repository's existing documentation and compiler entry points for any current P4-to-Rust workflow. Document the command or steps needed to generate Rust from a P4 source program and save it to a file; done means a newcomer can follow the instructions and reproduce the generated output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.