Skip to content

Commit

Permalink
small change to measure time taken by parser
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescheney committed Mar 18, 2024
1 parent 1a7b8f6 commit c51d709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/driver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ module Phases = struct
= fun initial_context filename ->
(* Process source file (and its dependencies. *)
let result =
Parse.run initial_context filename
(Debug.debug_time "Parsing" (fun () -> Parse.run initial_context filename))
|> Desugar.run
|> (fun result -> if Settings.get typecheck_only then exit 0 else result)
|> Compile.IR.run
Expand Down
2 changes: 1 addition & 1 deletion links.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ doc: "https://links-lang.org/quick-help.html"
bug-reports: "https://github.com/links-lang/links/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" { >= "5.1.0"}
"ocaml" { >= "5.1.1"}
"dune-configurator" { >= "3.8"}
"ppx_deriving"
"ppx_deriving_yojson" {>= "3.3"}
Expand Down

0 comments on commit c51d709

Please sign in to comment.