fmease / lushui

The reference compiler of the Lushui programming language
Apache License 2.0
7 stars 0 forks source link

Allow value and module bindings to share the same binder #61

Open fmease opened 3 years ago

fmease commented 3 years ago

Meta: Task: Add description.

This requires major changes in the infrastructure of the name resolver.

Importing only the value binding: use some.path.to.((let name)) (or rather ((data name))?). Importing only the module binding: use some.path.to.((module name)).

Syntactically conflicts with the proposal #42 (more ergonomic record fields) unless it switches from using . to some other symbol.