You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6197 Reporter:@bobzhang Assigned to:@bobzhang Status: assigned (set by @bobzhang on 2013-11-02T15:45:11Z) Resolution: open Priority: normal Severity: feature Category: compiler driver Monitored by:@gasche@hcarty
Bug description
OCamlc/opt and OCamldep/ocamldoc already support compiling the marshalized ast now, but with the same extension(.ml).
Explicit support compiling *.camlast(i) would help accelerate compilation.
Avoid unnecessary preprocessing.
Currently ocamldep, ocamldoc or ocamlc all require preprocessing which is duplicated
Avoid unnecessray recompilation
There is a large chance that the changed preprocessor would not change the preprocessed output,For a modern build system based on md5, this could avoid unnecessary typechecking which is expensive.
Encourage parallel compilation
If we support this, the pp flag or ppx flag could be deprecated in the future.
The text was updated successfully, but these errors were encountered:
We can already pass a file with a different suffix to the compiler (using -impl / -intf). Do you propose to specify "natural" extensions for serialized AST files, and have the compiler understand them natively?
This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.
Original bug ID: 6197
Reporter: @bobzhang
Assigned to: @bobzhang
Status: assigned (set by @bobzhang on 2013-11-02T15:45:11Z)
Resolution: open
Priority: normal
Severity: feature
Category: compiler driver
Monitored by: @gasche @hcarty
Bug description
OCamlc/opt and OCamldep/ocamldoc already support compiling the marshalized ast now, but with the same extension(.ml).
Explicit support compiling *.camlast(i) would help accelerate compilation.
Currently ocamldep, ocamldoc or ocamlc all require preprocessing which is duplicated
There is a large chance that the changed preprocessor would not change the preprocessed output,For a modern build system based on md5, this could avoid unnecessary typechecking which is expensive.
If we support this, the pp flag or ppx flag could be deprecated in the future.
The text was updated successfully, but these errors were encountered: