hylo icon indicating copy to clipboard operation
hylo copied to clipboard

Define a format to import checked modules

Open kyouko-taiga opened this issue 2 years ago • 0 comments

We need a format to store/load modules that have been type checked, so that we don't have to recompile every sources.

That format should probably include the typed AST of the module's public API and its IR. Then importing a module would consist of injecting the AST in the program under compilation and merge its IR functions.

kyouko-taiga avatar Sep 21 '22 20:09 kyouko-taiga