VineLang / vine

an experimental new programming language based on interaction nets
https://vine.dev
Apache License 2.0
17 stars 2 forks source link

vine: intelligent default path for submodules #19

Open tjjfvi opened 2 months ago

tjjfvi commented 2 months ago

Allow mod foo; statements which defaults the path semi-intelligently.

tjjfvi commented 1 month ago

A mod bar; statement can only appear in a file with path foo/foo.vi. The path is inferred to be either foo/bar.vi or foo/bar/bar.vi (exactly one of these must exist).