Skip to content

Feat: Import statement

Kane Petra requested to merge LOOP-185-imports into main

Re-implements importing Loop files

In more detail, this PR will do the following:

  • Re-introduce the "import" keyword for Loop files
  • Introduce the "pub" keyword instead of needing to export names
  • Allow importing classes & functions from other Loop files
  • Calling imported ffi libraries no longer uses "LoopString" as its calling convention and instead use "Index" expressions as they should

Closes LOOP-185

Edited by Kane Petra

Merge request reports