dune/src
Jérémie Dimino 138c920069 Add support for sub-systems
- Add a Sub_system module that allows to register sub-systems
  that are implemented in a single file
- Add a Syntax module to deal with versioned syntaxes

Other changes:
- Add location to all library dependencies in jbuild files, to report
  properly located errors
- Change the type of functions in Lib to return (_, exn) result
  rather than (_, Lib.Error.t With_required_by.t) result, which was
  hard to use
- Remove With_required_by.t as it was unused
- Rename With_required_by to Dep_path
- Cleanup a bit the Exe module, move a lot of stuff that was specific to
  executable stanzas in gen_rules.ml
- Add String_with_vars.Unexpanded.sexp_of_t
- Rework a bit the code in Lib, in particular factorize the code
  for taking the transitive closure of libraries
- Add an ?extra_vars argument to functions that expand variables
  in Super_context
- Fix the printing of dependency path
- Merge the handling of dependency path between the build system and
  the Lib module
2018-02-26 16:05:48 +00:00
..
fiber Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
stdune Add utility functions to result 2018-02-26 15:53:19 +07:00
usexp Make Atom.t private and consequences (#524) 2018-02-24 23:33:26 +00:00
xdg Add a configuration file and a quiet mode (#490) 2018-02-07 11:38:21 +00:00
action.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
action.mli String_with_vars: Use a functor to create generic expansion fun 2018-02-15 00:43:08 +01:00
action_intf.ml Replace promote actions by diff actions + promote command (#421) 2018-01-18 11:32:20 +00:00
arg_spec.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
arg_spec.mli Use /Fo instead of -o when invoking CL 2018-01-22 12:17:28 +00:00
artifacts.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
artifacts.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
bin.ml 114.20+69 2016-12-15 11:20:46 +00:00
bin.mli Correct detected value for ocaml on Windows 2017-06-15 12:14:56 +02:00
build.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
build.mli Remove the path argument from Record_lib_deps 2018-01-29 22:53:14 +08:00
build_interpret.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
build_interpret.mli Fix #534 2018-02-21 13:35:47 +00:00
build_system.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
build_system.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
clflags.ml Allow to set the concurrency level from the config file 2018-02-07 12:11:27 +00:00
clflags.mli Allow to set the concurrency level from the config file 2018-02-07 12:11:27 +00:00
cm_kind.ml Declare dependencies on external library files 2017-05-18 13:52:35 +01:00
cm_kind.mli Declare dependencies on external library files 2017-05-18 13:52:35 +01:00
colors.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
colors.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
config.ml Fix display when output is not a tty (#518) 2018-02-15 14:04:00 +00:00
config.mli Fix display when output is not a tty (#518) 2018-02-15 14:04:00 +00:00
context.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
context.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
dep_path.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
dep_path.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
errors.ml Don't stop on the first error (#477) 2018-02-06 14:39:03 +00:00
errors.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
exe.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
exe.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
file_tree.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
file_tree.mli [WIP] Load rules lazily (#370) 2018-01-19 08:50:06 +00:00
findlib.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
findlib.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
gen_meta.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
gen_meta.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
gen_rules.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
gen_rules.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
glob_lexer.boot.ml Simplify overrides in the bootstrap path 2017-09-22 01:52:04 +01:00
glob_lexer.mli 4.02.3 compatiblity 2017-02-26 21:28:30 +00:00
glob_lexer.mll 4.02.3 compatiblity 2017-02-26 21:28:30 +00:00
import.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
install.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
install.mli Add add_install_prefix function 2018-01-01 21:48:25 +08:00
installed_dune_file.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
installed_dune_file.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
interned.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
interned.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
io.ml [WIP] Load rules lazily (#370) 2018-01-19 08:50:06 +00:00
io.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
jbuild Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
jbuild.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
jbuild.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
jbuild_load.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
jbuild_load.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
js_of_ocaml_rules.ml Refactor library management (#516) 2018-02-20 11:46:10 +00:00
js_of_ocaml_rules.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
lib.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
lib.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
loc.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
loc.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
log.ml 4.02 compat 2018-02-13 19:04:21 +00:00
log.mli Add a configuration file and a quiet mode (#490) 2018-02-07 11:38:21 +00:00
main.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
main.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
merlin.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
merlin.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
meta.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
meta.mli Availability of "num" depends on the OCaml version (#358) 2017-12-11 13:05:20 +00:00
meta_lexer.mli meta parser 2016-11-13 10:01:32 +00:00
meta_lexer.mll 114.20+69 2016-12-15 11:20:46 +00:00
ml_kind.ml remove unused function 2017-04-10 10:10:49 +01:00
ml_kind.mli remove unused function 2017-04-10 10:10:49 +01:00
mode.ml Refactor library management (#516) 2018-02-20 11:46:10 +00:00
mode.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
module.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
module.mli Better support for mli/rei only modules (#489) 2018-02-08 10:12:46 +00:00
module_compilation.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
module_compilation.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
modules_partitioner.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
modules_partitioner.mli Detect when a module is used by several stanzas (#532) 2018-02-20 16:44:25 +00:00
ocaml_flags.ml Add an Exe module to build and link executables (#533) 2018-02-20 16:38:22 +00:00
ocaml_flags.mli Add an Exe module to build and link executables (#533) 2018-02-20 16:38:22 +00:00
ocamlc_config.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
ocamlc_config.mli Move reading/reading ocamlc -config to own module 2018-02-18 10:14:38 +07:00
ocamldep.ml Make Ocamldep.rules already_used arg optional 2018-02-26 15:53:19 +07:00
ocamldep.mli Make Ocamldep.rules already_used arg optional 2018-02-26 15:53:19 +07:00
odoc.ml Don't pass lib_name if lib is already passed 2018-02-26 14:55:40 +07:00
odoc.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
opam_file.ml Refactor IO functions and fix invalid IOs in gen_rules 2017-05-18 17:12:32 +01:00
opam_file.mli Improve opam parsing errors & use opam-file-format to extract the version 2017-05-16 14:47:52 +01:00
ordered_set_lang.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
ordered_set_lang.mli Better support for mli/rei only modules (#489) 2018-02-08 10:12:46 +00:00
package.ml Fix error message about too many opam files 2017-06-08 14:11:31 +01:00
package.mli Fix error message about too many opam files 2017-06-08 14:11:31 +01:00
path.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
path.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
per_item.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
per_item.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
print_diff.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
print_diff.mli Don't stop on the first error (#477) 2018-02-06 14:39:03 +00:00
process.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
process.mli Don't stop on the first error (#477) 2018-02-06 14:39:03 +00:00
report_error.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
report_error.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
scheduler.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
scheduler.mli Fix printing of errors (#513) 2018-02-13 18:31:21 +00:00
scope.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
scope.mli Refactor library management (#516) 2018-02-20 11:46:10 +00:00
sexp.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
sexp.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
string_with_vars.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
string_with_vars.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
sub_system.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
sub_system.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
sub_system_intf.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
sub_system_name.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
sub_system_name.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
super_context.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
super_context.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
syntax.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
syntax.mli Add support for sub-systems 2018-02-26 16:05:48 +00:00
top_closure.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
top_closure.mli Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
utils.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
utils.mli Add an Exe module to build and link executables (#533) 2018-02-20 16:38:22 +00:00
utop.ml Add support for sub-systems 2018-02-26 16:05:48 +00:00
utop.mli Refactor utop module to use the new exe module 2018-02-21 16:44:31 +07:00
variant.ml Rewrite the findlib predicate stuff 2018-02-13 19:04:30 +00:00
variant.mli Rewrite the findlib predicate stuff 2018-02-13 19:04:30 +00:00
vfile_kind.ml Vendored usexp and switch to it 2017-12-21 13:13:47 +00:00
vfile_kind.mli Revert some changes: 2017-05-15 14:58:37 +01:00
watermarks.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
watermarks.mli Don't stop on the first error (#477) 2018-02-06 14:39:03 +00:00
workspace.ml Split src/import.ml into a new library src/stdune (#548) 2018-02-25 16:35:25 +00:00
workspace.mli Add target support 2018-01-01 22:34:41 +08:00