There are two reasonable ways of solving this:
- Provide an
import "<file>"syntax (avoids circular include problem and good for language server). - Allow multiple files to be passed in via the CLI like a C compiler.
I think 1. makes the most sense because we can't provide language server diagnostics without knowing all defined symbols or input files, and I don't want to have some sort of editor config to list all sources.
There are two reasonable ways of solving this:
1. Provide an `import "<file>"` syntax (avoids circular include problem and good for language server).
2. Allow multiple files to be passed in via the CLI like a C compiler.
I think 1. makes the most sense because we can't provide language server diagnostics without knowing all defined symbols or input files, and I don't want to have some sort of editor config to list all sources.