roc/crates/compiler/load_internal
Agus Zubiaga 002493e32c
Load and can ingested file imports
Moves handling of ingested file imports from load to can, so that they
can be properly introduced in the scope they appear.

Example:

  import "input.txt" as input : Str

  image =
      import "image.png" as bytes : List U8
      # `bytes` is only available under `image`
      decodePng bytes

  ...
2024-01-20 08:43:40 -03:00
..
src Load and can ingested file imports 2024-01-20 08:43:40 -03:00
tests Load and can ingested file imports 2024-01-20 08:43:40 -03:00
Cargo.toml Push checkmate through load 2023-07-17 09:51:00 -05:00