initial draft
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# "quick" fixes
|
||||
|
||||
- for global initialization cycles, report also starting and ending lines
|
||||
|
||||
# milestones
|
||||
|
||||
1. import system:
|
||||
- directory level package style like odin (and go?)
|
||||
- globals in different files under same package are automatically merged into same namespace
|
||||
- globals defined in different packages must be imported via their package
|
||||
```
|
||||
import "some_package" # automatically imports all public globals under `some_package`
|
||||
other_name :: import "some_package" # imports all public globals under `some_package` into `other_name` namespace
|
||||
|
||||
some_package.hello # accesses the `hello` global from `some_package`
|
||||
other_name.hello # accesses the `hello` global from `some_package` via `other_name` namespace
|
||||
```
|
||||
|
||||
2. get c interop working:
|
||||
- link with c / compile c code into binary alongside brolang code
|
||||
- create bindings from c headers
|
||||
- find out how this should co-exist with the import system
|
||||
Reference in New Issue
Block a user