| Hi Anton,
There was discussion about namespaces at the Conference as being
necessary (or, at least, desirable) for packages. Namespaces are on
the list of todos for CS7 and, as far as I've thought through at a
least, would have definition and importing of files. (I was thinking
an import keyword that most would use instead of #include).
As for a module system, I'm not sure how far we would want to go. For
example, would we deal with accessibility (i.e., making everything
private by default and user defines exports)? Do we want to look at
implementing a kind of linker to merge module contents with a project
to produce a single project file?
There was some speculation about namespaces here:
https://github.com/csound/csound/issues/532
We should discuss and collect our requirements/use cases and put them
into that issue I think.
Thanks!
steven
On Wed, Oct 18, 2017 at 2:37 AM, Anton Kholomiov
wrote:
> Also I think if we want to have package manager for real we should
> add the module system with proper scoping of variables to the language.
>
> Or it will end up implemented in some external file format.. I think it's
> better to
> have it in the language and macros include is not enough for this.
>
> 2017-10-16 20:33 GMT+03:00 Guillermo Senna :
>>
>> Hi,
>>
>> I've just remembered about the opkg package manager that the OpenWrt
>> distribution for router uses
>> (https://git.yoctoproject.org/cgit/cgit.cgi/opkg/). The code can't be so
>> convoluted being that it's a package manager for a distro that should
>> fit in 8 MB of flash memory. Maybe it can serve as a starting point.
>>
>> However I think something closer to what we are looking for could be
>> clib (https://github.com/clibs/clib).
>>
>> Do you know any others?
>>
>> Cheers.
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>> https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> Csound mailing list Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> https://github.com/csound/csound/issues Discussions of bugs and features can
> be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |