Re: Wish #18

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

Also, how about searching EVERY directory where a file was included from?

jbrown105 

On Mon, Jul 09, 2001 at 09:41:25AM +0200, rolf.schroeder at desy.de wrote:
> 
> 
> kbochert at ix.netcom.com wrote:
> 
> > Another wish list item to be added to my earlier list.
> > (-: I sure am glad *I* don't have to implement all these! smile
> > 
> > 18- Search paths
> >    Euphoria's search path for include files (current directory;
> >    Euphoria/Include) is certainly simple but it is becoming rather
> >    restrictive.  Suggested search path:
> > 
> >    1) Local directory
> >       Search the directory of the file currently being processed.
> >       When processing starts, this is the current directory
> >       like now, but when Euphoria is processing an include
> >       file, the local directory becomes the directory of that
> >       include file. If I include a file from a library in another
> >       directory, that files' includes should not be able to
> >       accidently 'reach back' to my home directory.
> > 
> >    2) Euphoria directory
> >       Search Euphoria/Include (like now)
> > 
> >    3) Add-on directories
> >       Search each subdirectory of ...Euphoria/Include
> >       Allows add-on libraries to be incorporated without
> >       either copying files into Euphoria/include or using
> >       absolute references.
> > 
> >    This addresses a different kind of namespace problem.
> > 
> > Karl Bochert
> 
> I would like to have this implemented! It will simplify the usage of non
> Euporia includes (add-ons)! I hate to mix everything into the
> Euphoria\include\ dir. It's a good idea to put 'add-ons' into sub
> directories under Euphoria\include\, which will be searched
> automatically without given path, i.e.:
> 
> Euphoria\include\jiris\
> Euphoria\include\JD\
> Euphoria\include\rolfs\ ... .
> 
> Have a nice day, Rolf
> 
> 
> 
> 

-- 
Linux User:190064
Linux Machine:84163
http://jbrown105.1avenue.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu