CCSDS Synchronization and Channel Coding (131.0-B, 231.0-B)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

csv: rename from csvt

Drops the redundant "t" suffix. Library name, opam package, module
(Csvt -> Csv), and directory all rename in lockstep. Every downstream
reference in interop tests, libraries, and docs updated.

+7 -7
+1 -1
test/interop/dariol83/dune
··· 1 1 (test 2 2 (name test) 3 - (libraries scc alcotest csvt) 3 + (libraries scc alcotest csv) 4 4 (deps 5 5 (source_tree traces) 6 6 (source_tree scripts)))
+6 -6
test/interop/dariol83/test.ml
··· 26 26 type cltu_row = { name : string; tc_frame_hex : string; cltu_hex : string } 27 27 28 28 let cltu_codec = 29 - Csvt.( 29 + Csv.( 30 30 Row.( 31 31 obj (fun name tc_frame_hex cltu_hex -> { name; tc_frame_hex; cltu_hex }) 32 32 |> col "name" string ~enc:(fun r -> r.name) ··· 35 35 |> finish)) 36 36 37 37 let parse_cltu_rows () = 38 - match Csvt.decode_file cltu_codec (trace "cltu.csv") with 38 + match Csv.decode_file cltu_codec (trace "cltu.csv") with 39 39 | Ok rows -> rows 40 40 | Error e -> Alcotest.failf "failed to parse cltu.csv: %s" e 41 41 ··· 94 94 type rand_row = { name : string; input_hex : string; randomized_hex : string } 95 95 96 96 let rand_codec = 97 - Csvt.( 97 + Csv.( 98 98 Row.( 99 99 obj (fun name input_hex randomized_hex -> 100 100 { name; input_hex; randomized_hex }) ··· 104 104 |> finish)) 105 105 106 106 let parse_rand_rows () = 107 - match Csvt.decode_file rand_codec (trace "randomizer.csv") with 107 + match Csv.decode_file rand_codec (trace "randomizer.csv") with 108 108 | Ok rows -> rows 109 109 | Error e -> Alcotest.failf "failed to parse randomizer.csv: %s" e 110 110 ··· 149 149 type rs_row = { name : string; data_hex : string; codeword_hex : string } 150 150 151 151 let rs_codec = 152 - Csvt.( 152 + Csv.( 153 153 Row.( 154 154 obj (fun name data_hex codeword_hex -> { name; data_hex; codeword_hex }) 155 155 |> col "name" string ~enc:(fun r -> r.name) ··· 158 158 |> finish)) 159 159 160 160 let parse_rs_rows () = 161 - match Csvt.decode_file rs_codec (trace "reed_solomon.csv") with 161 + match Csv.decode_file rs_codec (trace "reed_solomon.csv") with 162 162 | Ok rows -> rows 163 163 | Error e -> Alcotest.failf "failed to parse reed_solomon.csv: %s" e 164 164