alpaca-lang / alpaca

Functional programming inspired by ML for the Erlang VM
Other
1.44k stars 47 forks source link

Symbol becomes "label", added "qualified labels" #267

Closed j14159 closed 5 years ago

j14159 commented 5 years ago

Label is a bit more accurate than "symbol" for this sort of node in terms of its function in the AST.

"Qualified labels" are those which are namespaced, e.g. module.function or record.field (though the latter doesn't work yet.)

This was a fairly invasive change that also impacted how module names are handled but I think it's a relatively big step towards a lot more consistency and clarity in the AST.