ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
227 stars 23 forks source link

Single line namespace declaration #580

Open arakov opened 1 year ago

arakov commented 1 year ago

Similar to C#, the single-line sub namespace must be supported. Something like this:

Additionally, to the standard way:

namespace collections
{
     A;
}

the single-line namespace declaration will be like this:

namespace collections;

A;