-
Hi. I wrote some code in Fstar, and i managed to make my local setup and to run one of the examples. Now i tried to copy the Makefile from the examples/hello folder to change that one to match the files that i have. Some of the modules use some of the other modules, and i have included them in the code, i seem to have created the .ml files for each module, but i dont know how to write in the makefile to get that 1 executable i need. Please help. I just want to get 1 executable from all of those .fst modules. The main module is CDCL.fst, which uses all other 4, then ConflictFunctions.fst and DPLLPropagation.fst which include the remaining 2 modules, and then OtherFunctions which includes DataTypes.fst and then DataTypes.fst which includes nothing. One more question. 'let main = solveFormula [Disj (Lit (NotVar "a")) (Lit (Var "b")) ; Disj (Lit (NotVar "a")) (Lit (NotVar "c")) ]' Like this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Here's a sample multi-file project extracted and built in OCaml, with a main function https://github.com/FStarLang/FStar/tree/nik_misc/examples/hello/multifile |
Beta Was this translation helpful? Give feedback.
Here's a sample multi-file project extracted and built in OCaml, with a main function
https://github.com/FStarLang/FStar/tree/nik_misc/examples/hello/multifile