compiler, runtime, common, documentation: Refactor Type System

The type system (and the value system) now include attributes
for each type (things like direction, const-ness).

Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
Will Hawkins
2026-04-13 23:53:31 -04:00
parent 35b2537754
commit 94086c8e17
34 changed files with 690 additions and 552 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ let p4_program_with_struct_decl = """
"""
// snippet.include
let flter = { (tipe: P4Type) -> Bool in
let flter = { (tipe: P4DataType) -> Bool in
switch tipe {
case let c as P4Struct: c.name == "agg"
default: false