3 ms·
> how do we import functions from another file / module? Currently everything is public, so you can just give multiple files to the compiler and it ought to wo
by evincarofautumn 8y ago
> how do we import functions from another file / module?
Currently everything is public, so you can just give multiple files to the compiler and it ought to work. I’m working on a more structured module system right now. As a first step, definitions will be private to the vocab (namespace) in which they’re defined by default, and adding an “export” annotation will make them visible from other vocabs. “import” will be sugar for introducing local synonyms (aliases) of definitions in other vocabs.
What do you mean by “multi-line concatenations”?