Re: Subversion Repository for Euphoria

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

Bernie Ryan wrote:
> 
> 
> Matt:
> 
>    Wouldn't be much easier to break the code out
>    into a code listing for Windows,Linux and Dos.
> 
>    I understand why Rob did this was to make it easier
>    for him to maintain all the versions easier.

No kidding.  It would be a real nightmare to have to split and merge
the code base based on platform specific code.
 
>    But the way the code is written it is a rats nest to follow
>    when you have to concentrate on Windows only or some
>    other OS when you have to wade through all the #defines.

Most of the defines are in places where most people won't really want
to change too much.  If you're adding a routine or something, you might
not need to worry about any platform specific code at all.  If you're 
trying to change some of the basic I/O behavior, you'll have to do some
wading, but in reality, most of the code is applicable to all platforms.
 
>    This will have to be done some time in the future anyway to
>    build a compiler or build an OOP version.

Yes, and this is basically what I'm doing with ooeu right now, but I'm not
separating the code for different platforms.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu