Skip to content

v0.1.2-alpha.7

Choose a tag to compare

@github-actions github-actions released this 06 May 06:25

Highlights

  • Changed keyword used for function from function to fun
  • Multi-file modules: import x and from x import name
  • Same behavior in xe run and xe compile (module graph is linked before codegen)
  • Better errors: messages show the correct file + caret
  • New module example: examples/modules/
  • More tests: module linking + failure cases (missing module/export, circular import, late import)

Known limitations

  • Only top-level functions are importable
  • No module-level variables inside functions (no closures yet)