package p4spectec

  1. Overview
  2. Docs
P4-SpecTec: A mechanization toolchain for the P4 Programming Language

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.2.tar.gz
md5=1a3bc0a385fe1ecf403c019f49aa6de6
sha512=5d20b5821f33e2a3a5419b208606f27c01511994c2b3b1e1cdf4c077056dfd0aa81682af0720e1060ee2bfb0341918fcc4c53159820205a2bc32b725e5c1a714

doc/p4spectec.pass/Pass/Structure/Opt/Overlap/index.html

Module Opt.Overlap

module Typ = Runtime.Type.Typ
val exp_as_guard : Ol.Ast.exp -> Ol.Ast.exp -> Ol.Ast.guard option
val guard_as_exp : Ol.Ast.exp -> Ol.Ast.guard -> Ol.Ast.exp
val typ_as_variant : Runtime.Dynamic_Sl.Envs.TDEnv.t -> Ol.Ast.typ -> Domain.Mixop.t list option
type overlap =
  1. | Identical
  2. | Disjoint of Ol.Ast.exp * Ol.Ast.guard * Ol.Ast.guard
  3. | Partition of Ol.Ast.exp * Ol.Ast.guard * Ol.Ast.guard
  4. | Fuzzy
val partition_exp_literal : Ol.Ast.exp -> Ol.Ast.exp -> bool
val disjoint_exp_literal : Ol.Ast.exp -> Ol.Ast.exp -> bool
val overlap_pattern : Ol.Ast.exp -> Ol.Ast.pattern -> Ol.Ast.pattern -> overlap