Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Constant folding for -Oclassic mode

    The -Oclassic optimiser setting doesn't do any constant folding, so simple examples involving computed constants are not compiled well:

    Stephen Dolan (@stedolan)
  2. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Constrain with-bound type variables during unification

    I'm not sure we should do this

    dkalinichenko-js
  3. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    DO NOT MERGE - Experimental GC tweaking

    At the moment I'm just using this PR/branch while reading the GC implementation to try to understand it better. Eventually there might be some tweaks that would make sense as a proper PR.

    Vesa Karvonen (@polytypic)
  4. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Deduplicate shared types in the zero-alloc backend

    Share structures that are currently defined identically in multiple places (e.g. { nor; exn; div }). This is also necessary for later reuse in [@zero_alloc conditional].

    Will Sturgeon (@wrsturgeon)
  5. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Deduplicate shared types in the zero-alloc backend

    Share structures that are currently defined identically in multiple places (e.g. { nor; exn; div }). This is also necessary for later reuse in [@zero_alloc conditional].

    Will Sturgeon (@wrsturgeon)
  6. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Disable fail-fast for nix ci

    The nix ci checks have fail-fast enabled. This means that if the Merlin nix job fails, the other jobs get cancelled. This blocks our internal CI tool from running the jane check on PRs that have not yet updated Merlin.

    Liam Stevenson (@liam923)
  7. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Distinguish tagged and naked int machtypes

    This PR currently adds a few reinterpret casts that should be moved to a parent PR.

    James Rayman (@jra4)
  8. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Do not propagate incompatible kind from block approximation

    As per title: in closure conversion, I think it is wrong

    Xavier Clerc (@xclerc)
  9. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Don't restart the tick timer on wake

    Currently, changing a domain's requested tick interval wakes up the ticker thread, which recomputes the effective global interval and resets its timer. If one domain is expecting ticks and another domain is constantly waking up the ticker thread at a higher frequency than the tick interval, the tick will never fire.

    Max Slater (@TheNumbat)
  10. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Drop the compile-time consistency check; record transitive imports by name

    A variant of #6660. Based on main.

    Zesen Qian (@riaqn)
  11. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Emit stack probes rather than checks when relaxing branches on ARM

    When stack checks are off, we need to emit stack probes for very large stack frames (see #7348). We fail to do so when relaxing branches on ARM. This PR fixes that case, and adds a test for it.

    Nick Barnes (@NickBarnes)
  12. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Experiment: restrict recursive values

    The value recursion feature of OCaml is quite powerful: it allows one to construct recursive values with nontrivial cycles (e.g., it allows one to use the value that is currently being constructed inside functions, mutual recursion, lazy values, records, constructors, etc). This PR restricts the expressivity of these cycles to several common forms.

    Simon Spies (@spiessimon)
  13. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Experimental implementation of "inject"

    This PR adds runtime value injection for quotes (Eval.inject), allowing values to be spliced into quoted expressions that are evaluated in the context of the current program execution, together with the compiler support needed to preserve optimisation information across the two compilations involved. The design and remaining milestones are recorded in inject…

    Mark Shinwell (@mshinwell)
  14. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix TLS grow race

    Currently, if grow_and_set is interrupted while growing the state array and the interrupt grows the array itself, outer call will overwrite the state and potentially drop updates. This is the same problem DLS has with respect to thread switching, and we can solve it the same way (compare_and_set_tls_state with no poll points).

    Max Slater (@TheNumbat)
  15. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix TMC calls in the body of a try

    The dps version of [try] blocks were generated incorrectly: Firstly, the body of the try was marked as tail, which is incorrect, as it needs to pop exception handler.

    Aaron Eline (@aaronjeline)
  16. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix `-flambda2-match-in-match` bug

    I don't quite understand what's happening here, but it seems to be the right fix.

    dkalinichenko-js
  17. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix `scrape_ty` to still look through `[@@unboxed]` types containing `or_null`

    Typeopt.scrape_ty promises to scrape away [@@unboxed] types, which it looks through using Ctype.get_unboxed_type_approximation. However, get_unboxed_type_approximation also looks through or_null types, and if it reported it did, then we currently throw away the whole result and incorrectly use the un-scraped input type.

    Ryan Tjoa (@rtjoa)
  18. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix a crash in [@tail_mod_cons] annotated function that contain &&/||/sends in tail position

    Functions like the following would crash the compiler:

    Aaron Eline (@aaronjeline)
  19. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix an incorrect `fun_ret_type` in `intermediate_curry_functions`

    The fun_body is a Calloc of a closure, so it returns a value. The incorrect fun_ret_type was not being used anywhere. It was caught by a child PR implementing machtype-checking.

    James Rayman (@jra4)
  20. Pull requestW43.2026 · 19–25 Octoxcaml/oxcaml

    Fix bug in mode polymorphism printing

    During printing, we want to show an edge between two variables when there is a non-trivial relation between either their monadic or their comonadic bounds. If one part is trivial but the other is not, we construct the missing edge from the trivial bounds check.

    ainageorges