Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions interpreter/.merlin

This file was deleted.

33 changes: 33 additions & 0 deletions interpreter/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
(include_subdirs unqualified)

(library
(name wasm)
; The 'main' module shall not be part of the library, as it would start the
; WASM REPL every time in all the dependencies.
; We also need to exclude the 'wasm' module as it overlaps with the library
; name.
(modules :standard \ main wasm))

(executable
(name main)
(modules main)
(libraries wasm)
(flags
(-open Wasm)))

(subdir
text
(rule
(target lexer.ml)
(deps lexer.mll)
(action
(chdir
%{workspace_root}
(run %{bin:ocamllex} -ml -q -o %{target} %{deps}))))
(ocamlyacc
(modules parser)))

(env
(dev
(flags
(-w +a-4-27-42-44-45 -warn-error +a-3))))
1 change: 1 addition & 0 deletions interpreter/dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 2.9)