Skip to content

Commit

Permalink
dsl -> rio
Browse files Browse the repository at this point in the history
  • Loading branch information
polybeandip committed Sep 2, 2024
1 parent 4421006 commit ecfd8ef
Show file tree
Hide file tree
Showing 41 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
with:
ocaml-compiler: 5
- name: Install ocamlformat
working-directory: dsl
working-directory: rio
run: opam install ocamlformat
- name: Check format
working-directory: dsl
working-directory: rio
run: |
[ $(opam exec -- dune fmt 2> >(wc -c)) -eq 0 ]
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
with:
ocaml-compiler: 5
- name: Install dependencies
working-directory: dsl
working-directory: rio
run: |
opam install . --deps-only
- name: DSL tests
working-directory: dsl
- name: Rio tests
working-directory: rio
run: |
opam exec -- dune build
opam exec -- dune test
Expand Down
6 changes: 0 additions & 6 deletions dsl/simulator/dune

This file was deleted.

3 changes: 0 additions & 3 deletions dsl/tests/dune

This file was deleted.

File renamed without changes.
6 changes: 3 additions & 3 deletions dsl/dune-project → rio/dune-project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(lang dune 3.16)

(name dsl)
(name rio)

(generate_opam_files true)

Expand All @@ -24,8 +24,8 @@
(using menhir 3.0)

(package
(name dsl)
(synopsis "DSL for Programmable Packet Scheduling")
(name rio)
(synopsis "Rio - a DSL for Programmable Packet Scheduling")
(description "TBD")
(depends
ocaml
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion dsl/frontend/dune → rio/frontend/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name Frontend)
(public_name dsl.frontend))
(public_name rio.frontend))

(menhir
(modules parser))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion dsl/dsl.opam → rio/rio.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "DSL for Programmable Packet Scheduling"
synopsis: "Rio - a DSL for Programmable Packet Scheduling"
description: "TBD"
maintainer: [
"Anshuman Mohan" "Cassandra Sziklai" "Kabir Samsi" "Akash Dhiraj"
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions rio/simulator/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(library
(name Simulator)
(public_name rio.simulator)
(libraries rio.frontend core_kernel.fheap pcap-format hex csv mmap)
(preprocess
(pps ppx_cstruct)))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions rio/tests/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(tests
(names parsing compilation)
(libraries rio.frontend rio.simulator ounit2))
File renamed without changes.
File renamed without changes.

0 comments on commit ecfd8ef

Please sign in to comment.