Re: [imcc] objects speed, .include and file-scoped vars, and various stuff

2003-08-01 Thread Leopold Toetsch
Jerome Quelin [EMAIL PROTECTED] wrote: - will objects introduce a speed overhead? For sure, but not a big one. You can AFAIK obtain an integer index for an attribute or method so its basically an array lookup. - if I implement the Lahey space module as a regular module, how can I declare

Re: [imcc] objects speed, .include and file-scoped vars, and various stuff

2003-08-01 Thread Jerome Quelin
Leopold Toetsch wrote: Jerome Quelin [EMAIL PROTECTED] wrote: - will objects introduce a speed overhead? For sure, but not a big one. You can AFAIK obtain an integer index for an attribute or method so its basically an array lookup. Nice. So maybe I'll go for an object... - if I

Re: [imcc] objects speed, .include and file-scoped vars, and various stuff

2003-08-01 Thread Leopold Toetsch
Jerome Quelin [EMAIL PROTECTED] wrote: Leopold Toetsch wrote: Just put a .local or .sym declaration outside/in front of your subs. This declares a file-scoped variable. It does not seem to be file-scoped: .include gets pulled in inside the lexer, so its the same, as it were in that file. And

[imcc] objects speed, .include and file-scoped vars, and various stuff

2003-07-31 Thread Jerome Quelin
Hi there, Since objects are closing in, I begin to work on the new version of Befunge, that will be written in imcc. Anyway, whatever the reason, I'm playing with imcc and have some questions about it: - will objects introduce a speed overhead? I'm asking this question because the Lahey

Re: [imcc] objects speed, .include and file-scoped vars, and various stuff

2003-07-31 Thread Melvin Smith
At 11:02 PM 7/31/2003 +0200, Jerome Quelin wrote: Anyway, whatever the reason, I'm playing with imcc and have some questions about it: I think its officially time to put together a nice set of documentation for IMCC (like web based). I'll try to start, right after I catch up with the year of