Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add Misc.split_path_contents | Nicolás Ojeda Bär | 2018-10-10 | 1 | -6/+1 | |
| | ||||||
* | Use String.split_on_char | Nicolás Ojeda Bär | 2018-10-10 | 1 | -18/+6 | |
| | ||||||
* | Full explanation for unsafe cycles in recursive modules (#2058) | Florian Angeletti | 2018-10-01 | 2 | -40/+79 | |
| | | | | * Full explanation for unsafe cycles in rec modules | |||||
* | ident: hide stamp related functions from the interface | Thomas Refis | 2018-09-21 | 1 | -1/+1 | |
| | | | | | | | | | | | | The only remaining user was [Predef], which was bumping the counter by 999 to allow cmis to remain compatible if new predefs were defined. This commit removes that use by making sure that every ident defined in predef.ml is marked as predef and use a different stamp counter as user defined idents. That way idents in cmi always start at 1, no matter how many predefs there are. Stamps on predef aren't strictly necessary: predefs names are unique. However, predef idents comparison is just faster with stamps. | |||||
* | ident: split Local into Local and Scoped | Thomas Refis | 2018-09-21 | 8 | -60/+61 | |
| | | | | | Also rename [create] into [create_scoped] and [create_var] into [create_local]. | |||||
* | ident: add an explicit scope field | Thomas Refis | 2018-09-21 | 8 | -60/+62 | |
| | | | | | | | | - Ident.create now takes a scope as argument - added Ident.create_var to use when the scope doesn't matter - the current_time and the current_level are unrelated as of this commit. But one has to remember to bump the level when creating new scopes. | |||||
* | manual: compiler-libs.mld -> compiler_libs.mld | Florian Angeletti | 2018-09-12 | 1 | -1/+1 | |
| | ||||||
* | MPR7546, manual: preambles and warnings for compiler-libs modules (#2020) | Florian Angeletti | 2018-09-12 | 1 | -1/+6 | |
| | | | | | | * preambles for compiler-libs modules * Compilerlibs intro and warning link | |||||
* | check arity of primitives | Hugo Heuzard | 2018-09-03 | 3 | -252/+297 | |
| | ||||||
* | manual: fix broken build caused by GPR #2007 | Gabriel Scherer | 2018-08-27 | 1 | -1/+1 | |
| | ||||||
* | Deprecate Pervasives (#1605) | Jérémie Dimino | 2018-08-27 | 3 | -3/+3 | |
| | | | | | | | - inline Pervasives in Stdlib and re-add Pervasives as a deprecated module that aliases all elements of Stdlib except the stdlib modules. - remove special case for Stdlib.Pervasives in printtyp.ml | |||||
* | Location: significantly rework the code printing errors and warnings | Armaël Guéneau | 2018-08-08 | 4 | -4/+4 | |
| | ||||||
* | Add locations to attributes | Hugo Heuzard | 2018-08-06 | 3 | -17/+17 | |
| | | | | | | Changes fix typo | |||||
* | Add option to dump the output of e.g. -dlambda in a file (#1913) | sliquister | 2018-07-27 | 2 | -7/+8 | |
| | ||||||
* | Implement reviewer suggestions | Nicolás Ojeda Bär | 2018-07-25 | 5 | -235/+235 | |
| | ||||||
* | Use reraise_raw_backtrace in Misc.try_finally | François Bobot | 2018-07-25 | 6 | -253/+244 | |
| | | | | | And add labels ~always for previous cleanup function and ~exceptionally for new cleanup function in exceptional case | |||||
* | Just some tbl things. (#1699) | Gabriel Radanne | 2018-07-23 | 6 | -68/+81 | |
| | ||||||
* | Merge pull request #1751 from trefis/pr7554 | Thomas Refis | 2018-07-19 | 8 | -100/+130 | |
|\ | | | | | Lambda.subst: also update debug event environments | |||||
| * | Lambda.subst: update debug events environments | Thomas Refis | 2018-07-17 | 5 | -90/+120 | |
| | | | | | | | | | | | | | | Introduced "Lambda.rename" for var->var substitutions, this also updates the debug envs automatically. This fixes MPR#7554 | |||||
| * | lambda_event contains actual env, not a summary | Thomas Refis | 2018-07-17 | 6 | -10/+10 | |
| | | ||||||
* | | Merge pull request #1906 from sliquister/doutput-prepare | Gabriel Scherer | 2018-07-17 | 6 | -39/+38 | |
|\ \ | |/ |/| | Minor cleanup around printing in the compiler (warnings, errors, etc) | |||||
| * | Print warnings on the warnings formatter in the couple of places that don't | Valentin Gatien-Baron | 2018-07-15 | 6 | -39/+38 | |
| | | | | | | | | | | | | Except the OCAMLPARAM stuff, as that runs before the command line warning settings are even parsed, so while they are reported using the normal warnings code, they don't look like normal warnings. | |||||
* | | Make sure we don't load extra cmi files when compiling extension ↵ | Jérémie Dimino | 2018-07-16 | 1 | -1/+2 | |
| | | | | | | | | constructors (#1908) | |||||
* | | allow exceptions under or-patterns | Thomas Refis | 2018-07-16 | 2 | -31/+80 | |
|/ | ||||||
* | matching.ml: remove an outdated comment | Armaël Guéneau | 2018-07-12 | 1 | -1/+0 | |
| | ||||||
* | Shadow the polymorphic comparison in the middle-end (#1811) | Xavier Clerc | 2018-07-11 | 2 | -0/+66 | |
| | ||||||
* | Merge the asmrun and byterun directories into the runtime directory | Sébastien Hinderer | 2018-06-28 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'trunk' into build-path-prefix-map-prims | Gabriel Scherer | 2018-06-27 | 1 | -11/+23 | |
|\ | ||||||
| * | Add -dcamlprimc + pass -fdebug-prefix-map when available (#1845) | Xavier Clerc | 2018-06-27 | 1 | -11/+23 | |
| | | | | | | | | - Introduce `-dcamlprimc`, to keep the generated C file containing the primitive list - Use `-fdebug-prefix-map` for compiling temporary C files when this option is supported | |||||
* | | Apply the rewrite only to absolute paths. | xclerc | 2018-06-22 | 1 | -1/+5 | |
| | | ||||||
* | | Use the information from `BUILD_PATH_PREFIX_MAP` when compiling primitives ↵ | Xavier Clerc | 2018-06-22 | 1 | -0/+1 | |
|/ | | | | based on the filename. | |||||
* | Whitespace and overlong line fixes. | David Allsopp | 2018-06-14 | 8 | -14/+30 | |
| | ||||||
* | Remove pv_name field | Nicolás Ojeda Bär | 2018-06-07 | 1 | -4/+1 | |
| | ||||||
* | Fix lazy/float interaction when configured with -no-flat-float-array. (#1471) | Damien Doligez | 2018-06-05 | 1 | -3/+5 | |
| | | | | | | | Fix interaction between lazy and float when configured with -no-flat-float-array. Problem reported by Mark Shinwell in https://github.com/ocaml/ocaml/pull/1465#pullrequestreview-74400016 | |||||
* | add advanced option to tune performance of pattern matching compiler in case ↵ | Dwight Guth | 2018-06-01 | 1 | -2/+2 | |
| | | | | of exponential blowup | |||||
* | Handle `[@inlined]` attributes under a module constraint (#1808) | Xavier Clerc | 2018-06-01 | 1 | -4/+19 | |
| | | | Handle `[@inlined]` attributes under a module constraint. | |||||
* | Merge pull request #1723 from stedolan/remove-meta-static | Gabriel Scherer | 2018-05-28 | 7 | -48/+32 | |
|\ | | | | | Remove Meta.static_{alloc, free}. | |||||
| * | Add an optional digest parameter to Meta.reify_bytecode. | Stephen Dolan | 2018-04-13 | 2 | -2/+4 | |
| | | ||||||
| * | Remove Meta.static_{alloc, free}. | Stephen Dolan | 2018-04-13 | 7 | -48/+30 | |
| | | | | | | | | | | | | | | The bytecode runtime now represents code to be loaded as LongString.t, rather than as a naked pointer to a bytecode block. (This commit breaks Dynlink of bytecode, due to an issue about digests) | |||||
* | | reindent bytecomp/switch.ml | Thomas Refis | 2018-05-25 | 1 | -602/+602 | |
| | | ||||||
* | | matching: constants aren't all in the same group | Thomas Refis | 2018-05-24 | 1 | -4/+34 | |
| | | ||||||
* | | translmod: indentation fix | Thomas Refis | 2018-05-08 | 1 | -14/+16 | |
| | | ||||||
* | | matching: cleanup debug printing (#1762) | Thomas Refis | 2018-05-05 | 1 | -31/+16 | |
| | | | | | | | | Avoid mixing calls to Format with calls to prerr_* | |||||
* | | Add reference to Lazy issue reported in crowbar | Stephen Dolan | 2018-05-03 | 1 | -1/+2 | |
| | | ||||||
* | | Ensure Lazy has stable behaviour with afl-instrument. | Stephen Dolan | 2018-05-02 | 1 | -6/+19 | |
| | | | | | | | | | | | | When AFL instrumentation is enabled, the inlining of Lazy.force is disabled, so that the GC optimisation of removing Forward_tag blocks is no longer visible in the instrumentation output. | |||||
* | | PR#7787: fix module type of and recursive modules interaction | Thomas Refis | 2018-04-30 | 1 | -2/+3 | |
| | | | | | | | | Mta_absent and Mta_present aliases should be compiled differently. | |||||
* | | Merge pull request #1705 from hhugo/exn | Thomas Refis | 2018-04-27 | 1 | -10/+10 | |
|\ \ | |/ |/| | keep @@ attributes on exceptions | |||||
| * | allow to attach @@ attributes on exceptions | Hugo Heuzard | 2018-04-09 | 1 | -10/+10 | |
| | | ||||||
* | | Fix location primitives (e.g. __FILE__) (#1715) | Leo White | 2018-04-11 | 1 | -7/+7 | |
|/ | ||||||
* | Organise and simplify translation of primitives | Leo White | 2018-04-09 | 9 | -674/+849 | |
| |