Fabian Ruffy

Results 123 issues of Fabian Ruffy

This is a larger rewrite of the core parts of P4Testgen's target initialization. The goal is to fix several problems when trying to use P4Testgen and other tools as a...

p4tools

Currently, the error message for missing to declare a variable in the for-loop looks like this: ``` loop3-err.p4(51):syntax error, unexpected IN for (i in ^^ [--Werror=overlimit] error: 1 errors encountered,...

core

Clean up some issues with the reachability pass and modernize the code. This pass is barely used so the changes are not of much consequence. This fixes are useful for...

p4tools

Our namespace policy is a little unclear. Currently, we seem to use P4 for front/mid end, ControlPlaneAPI for the control plane, and IR for the IR code. The lib folder...

enhancement
core

This way we can distinguish whether a particular IR object is a system object or a program object. This can be useful in optimizations (e.g., do not remove system declarations)...

core

Yet another variant of #4667 and #4713 but a bit more conservative. `btree_map` is a memory-efficient variant of `std::map` which does not require hashing. We can use it to replace...

p4tools

It will make it easier to work with arguments without having to rely on indirection.

enhancement
core