Skip to content

Commit 6627cf7

Browse files
authored
Merge pull request #363 from pataei/main
Adding first draft of P4's abstract syntax to formalization doc
2 parents fbdc1b6 + 73bfc0b commit 6627cf7

22 files changed

Lines changed: 3620 additions & 543 deletions

docs/petr4spec/Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11

22
SPEC=Petr4-spec
33

4-
all: build/${SPEC}.pdf
5-
6-
build/${SPEC}.pdf: ${SPEC}.mdk
7-
madoko --pdf -vv --png --odir=build $<
8-
9-
build/${SPEC}.pdf: grammar.mdk p4.json
104

115
html: ${SPEC}.mdk grammar.mdk p4.json
12-
madoko -vv --png --odir=build $<
6+
madoko -vv --odir=build $<
137

148
clean:
159
${RM} -rf build

docs/petr4spec/Petr4-spec.mdk

Lines changed: 2956 additions & 431 deletions
Large diffs are not rendered by default.

docs/petr4spec/figs/actions.png

-45.9 KB
Binary file not shown.
-50 KB
Binary file not shown.
-48 KB
Binary file not shown.
-22.1 KB
Binary file not shown.
-176 KB
Binary file not shown.

docs/petr4spec/figs/p4checksum.png

-26.5 KB
Binary file not shown.
-88 KB
Binary file not shown.

docs/petr4spec/figs/p4prg.png

-149 KB
Binary file not shown.

0 commit comments

Comments
 (0)