dune 669 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
;; -*-lisp-*-

(rule
 (targets data_parser.ml)
 (deps    (:input-file data_parser.dyp))
 (action  (chdir %{project_root} (run %{bin:dypgen} --noemit-token-type --no-pp --no-obj-type --no-mli %{input-file})))
 )

(ocamllex data_lexer)

;; This stanza declares the Grammar library
(library
 (name grammars)
  (flags (:standard -w -58))
  (modules (:standard \ acgc interactive))
  (libraries 
   logic
   acgData
   )
  )

;; This declares the acgc executable implemented by acgc.ml
(executable
 (name acgc)
 (public_name acgc)
 (package acgtk)
 (modules acgc)
 (libraries
  threads
30 31
  logs
  fmt.tty
32 33 34 35 36 37 38
  logic
  acgData
  grammars
  ))


(documentation (package acgtkLib))