Skip to content
Snippets Groups Projects
Commit 3d26f178 authored by Wilke Pierre's avatar Wilke Pierre
Browse files

dune test_lexer

parent 31a23448
No related branches found
No related tags found
No related merge requests found
...@@ -3,8 +3,7 @@ grammar.html ...@@ -3,8 +3,7 @@ grammar.html
src/generated_parser.ml src/generated_parser.ml
src/config.ml src/config.ml
**/*.native **/*.native
ecomp
skeleton skeleton
src/.vscode/ src/.vscode/
.vscode/ .vscode/
Makefile.config Makefile.config
\ No newline at end of file
...@@ -20,7 +20,7 @@ $(TG): $(SRC) ...@@ -20,7 +20,7 @@ $(TG): $(SRC)
# ocamlbuild $(PROF) -cflags -warn-error,"+a-26" -cflags -w,"-26" -menhir "menhir --unused-tokens" -use-ocamlfind $(TG) # ocamlbuild $(PROF) -cflags -warn-error,"+a-26" -cflags -w,"-26" -menhir "menhir --unused-tokens" -use-ocamlfind $(TG)
test_lexer: archi.ml config.ml e_regexp.ml lexer_generator.ml symbols.ml test_lexer.ml utils.ml test_lexer: archi.ml config.ml e_regexp.ml lexer_generator.ml symbols.ml test_lexer.ml utils.ml
dune exec test_lexer.exe dune exec ./test_lexer.exe
dot -Tsvg /tmp/dfa.dot -o /tmp/dfa.svg dot -Tsvg /tmp/dfa.dot -o /tmp/dfa.svg
dot -Tsvg /tmp/nfa.dot -o /tmp/nfa.svg dot -Tsvg /tmp/nfa.dot -o /tmp/nfa.svg
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
) )
(ocamllex lexer) (ocamllex lexer)
(executable (executables
(name main) (names main test_lexer)
(libraries (libraries
batteries batteries
yojson yojson
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment