RE: Anyone done anything with the Euphoria Source Code?
- Posted by Bernie Ryan <xotron at localnet.com> Jan 19, 2002
- 490 views
David Cuny wrote: > Perhaps the folk who have the source could get together and puzzle out a > > single feature? I'm thinking: > > integer a = 12, b, c = 22 > > might be a good start? > David: I'am afraid that is more than I could handle with my limited understanding of the code today. I don't think it will be that easy because you have to test to be sure the user is initializing with proper type of data and do a lot of type checking, let alone the parsing for atoms, integers, sequences, etc. Then you have to stiched that all into to the code in the proper places by guessing what the code does. I'am still trying to figure out how the code works without changing it too much. I think a major problem was that the code was first developed using the watcom compiler which uses OS2's LE format when every other compiler these days uses COFF or PE format, that's why the code has to be adjusted for every different compiler. It would be much easier to maintain the code on a different compiler. Watcom may have been the best compiler in it's day but that was when there were no good fast graphics libraries or good DOS extenders. There are some errors that are generated when using watcom, like exiting a function and not always doing a return; that can be eliminated by using a #pragma that is available in MS, DJGPP, and GNU "C" but not in watcom. I'am not a professional programmer, so maybe my opion of watcom is not correct, but I don't think I would want to use it to try to build code to port easly to other platform unless I wanted to port it OS2. Bernie