aboutsummaryrefslogtreecommitdiffstats
path: root/extraction/main.ml
blob: 870a0bcf0b402af0f0cc23bce06e7c6ec9d9530f (plain)
1
2
3
4
5
6
7
8
9
open Verilog
open Datatypes

let rec nat_to_int = function
  | O -> 0
  | S n -> 1 + nat_to_int n

let () =
  print_endline ("Result: ")