From d2f4d00011c8dbe9b342836ec1b930073568ed77 Mon Sep 17 00:00:00 2001 From: Christian Rinderknecht Date: Wed, 24 Jul 2019 14:34:26 +0200 Subject: [PATCH] Refactored module EvalOpt by removing useless command line options. --- src/parser/ligodity/EvalOpt.ml | 70 +++++++-------------------------- src/parser/ligodity/EvalOpt.mli | 16 ++------ src/parser/ligodity/Parser.mly | 7 ++-- 3 files changed, 21 insertions(+), 72 deletions(-) diff --git a/src/parser/ligodity/EvalOpt.ml b/src/parser/ligodity/EvalOpt.ml index 47731d9c7..5bd4d13a1 100644 --- a/src/parser/ligodity/EvalOpt.ml +++ b/src/parser/ligodity/EvalOpt.ml @@ -1,12 +1,9 @@ -(* Parsing the command-line option for the Mini-ML compiler/interpreter *) +(* Parsing the command-line option for CameLIGO *) type options = { - input : string option; - eval : bool; - compile : string option; - libs : string list; - verbose : Utils.String.Set.t; - raw_edits : bool + input : string option; + libs : string list; + verbose : Utils.String.Set.t } let abort msg = @@ -19,16 +16,12 @@ let sprintf = Printf.sprintf let help () = let file = Filename.basename Sys.argv.(0) in - printf "Usage: %s [