Commit 731ba773 authored by POTTIER Francois's avatar POTTIER Francois

Updated demos/calc-dune for dune 1.4.

parent cbac4f77
.PHONY: all clean test
DUNE := jbuilder
DUNE := dune
EXECUTABLE := calc.exe
all:
......
This demo is identical to the "calc" demo,
but uses dune (a.k.a. jbuilder)
instead of ocamlbuild.
This demo is identical to the `calc` demo
but uses dune instead of ocamlbuild.
(ocamllex
(modules lexer)
)
(menhir
(modules parser)
(flags ("-la" "2"))
)
(executable
(name calc)
)
(lang dune 1.4)
(using menhir 2.0)
(jbuild_version 1)
(ocamllex (lexer))
; TODO: missing a simpler form to invoke menhir
(menhir (
(modules (parser))
(flags ("-la" "2"))
))
(executable
((name calc))
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment