Commit Graph

21 Commits (9e181ca8f446d238ba279bc22fef9d166d4f38b0)

Author SHA1 Message Date
Thomas Refis 1e07bc7ed9 fix dune build 2020-10-20 11:20:40 +02:00
Thomas Refis 9fdc759ac0
Centralized tracking of frontend's global state (#9963)
import Local_store from merlin, with a simplified API following review comments
2020-10-15 14:47:19 +02:00
Nicolás Ojeda Bär 540996d21e Remove Spacetime 2020-10-08 20:28:12 +02:00
Brett Gilio 9038c98fc7
Modify ocamltest_core_and_plugin dune. (#9843)
Co-authored-by: David Allsopp <david.allsopp@metastack.com>
2020-09-22 10:27:32 +02:00
Gabriel Scherer ffb6caef8b patterns: move Parmatch.Pattern_head into Patterns.Head
The aim is to also move the Simple/Half_simple/General stuff from
matching, but we need to split in those modules the part that are
purely structural (they go in Patterns) and the parts that are
actually compilation logic (Half_simple.of_clause), those stay in
Matching.
2020-05-14 10:11:36 +02:00
Thomas Refis 250c9c8c1f dune: cmt2annot 2020-03-30 16:00:36 +02:00
Thomas Refis d12044e6c2 dune: add Typedecl_separability 2020-02-12 17:11:31 +01:00
Thomas Refis bc17eb0f1d dune: fix build 2019-10-18 16:34:40 +01:00
Thomas Refis d6fb9ad86a dune: add type_immediacy 2019-10-02 12:53:31 +01:00
Thomas Refis a19c0b2fd2 dune: add linear 2019-09-09 12:50:49 -04:00
Thomas Refis 98ea4cc633 dune: add an alias @libs that is buildable on 4.09 2019-08-28 15:05:16 +01:00
Thomas Refis 457c44aef9 dune: disable warning 40 2019-05-06 14:01:00 +01:00
Mark Shinwell 72ea849d2a
Move some middle-end files around (#2281)
* Various file moves in the middle end: this is the first stage of improving separation between the middle end and backend.
* Creation of file_formats/ directory (with associated file moves) to hold the definitions of compilation artifact formats.
* Creation of lambda/ directory (with associated file moves) to hold Lambda language definition files, transformation passes and construction passes from Typedtree.
* Disable (hopefully temporarily) dynlink, debugger and ocamldoc for the dune build.
2019-04-01 17:18:47 +01:00
Gabriel Scherer c7534721dd partial fix for the dune build
The dune build is, in fact, still broken by format-related changes,
as it does not use the bootstrap compiler.
2019-03-31 09:52:47 +02:00
Mark Shinwell 36c163248d Remove support for compiler plugins (#2276)
After consultation on the core developers' list I am proposing this patch to remove support for compiler plugins.

The main motivations for removing compiler plugins are:
- They are a potential security risk.
 - They increase the complexity of the build system and make maintenance of the Dynlink libraries more difficult (although actually, this complexity could probably be reduced after #2268 is merged).
 - Many applications of plugins should be able to be expressed by building custom compiler drivers that link against compilerlibs.

* Remove compiler plugins and hooks
* Add new function Dynlink.unsafe_get_global_symbol but keep it outside the documented API.
* Remove otherlibs/dynlink/nodynlink.ml
* Update Changes
2019-03-13 11:46:37 +01:00
Gabriel Scherer 96518644f5 fix dune build
(dune seems to choke on some 4.08 features that were used in the Env
codebase already. It's not a bad idea to ensure that the compiler
codebase works well with 4.07.)
2019-02-20 22:40:58 +01:00
Thomas Refis 3a193111f6 update dune file 2019-02-14 16:15:04 +00:00
Thomas Refis af328e176b
remove typedtreeMap (#2173) 2018-11-29 15:51:45 +01:00
Thomas Refis f86d10aebd update dune file 2018-11-26 16:42:19 +00:00
Thomas Refis aa77d3b93d
fix dune build following natdynlink modifications (#2154)
- silence some principality warning in otherlibs/dynlink
- shared some script between the makefile and the dune files
2018-11-20 15:06:47 +01:00
Thomas Refis d68e0e2077
Provide a way to build the bytecode compiler using Dune (#2093) 2018-10-10 16:16:00 +01:00