Re: Packages

new topic     » goto parent     » topic index » view thread      » older message » newer message

Your system is too complex, it add a lot of new keywords. Why make it complex
when one can make simple.
A few days ago I propose a namespace system similar to what C# use.
My proprosed system needs only 3 new keywords.

ref.:
http://www.openeuphoria.org/cgi-bin/esearch.exu?fromMonth=6&fromYear=1&toMonth=8&toYear=C&postedBy=Jacques+Desch%EAnes&keywords=namespace

In my first post I didn't said that the same namespace identifier could be used
in more than one file as in C#.
Also I proposed a 2 keywords namespace system, now I add a third one: 'alias'

alias  namepace1:namespace2:...:namespacen  as alias_name
this will enable a shorter typing alias_name for long path.

tree structure like this are simple system used in many place in information
system, form exemple: file system,
snmp protocol, wbem protocol to name a few.

regards,
Jacques DeschĂȘnes



CChris wrote:
> 
> 
> I just posted at <a
> href="http://oedoc.free.fr/Packages.htm">http://oedoc.free.fr/Packages.htm</a> a
> description
> for a packaging system for Euphoria.
> 
> It will solve the name clash issues definitively and allow to write cleaner
> code by breaking large libraries into smaller subsets. The system was designed
> so that not a single piece of code will break. Performancewise, the only place
> where it may be noticeable - I didn't check yet - is the processing of an
> include
> statement, hardly a speed bottleneck - the time to open the file and fetch
> physical
> data from hard disk dominates any software processing.
> 
> Since I simplified a couple things from my 2.5 eu.ex implementation, more
> tests
> are needed before creating a new development branch with the new system. I
> hope
> to get this done during this month - writing docs in the .htx format explains
> the loose timetable.
> 
> CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu