Re: IMCC and multiple source files

2003-03-07 Thread Leopold Toetsch
Joseph F. Ryan wrote: Leopold Toetsch wrote: I don't have a docs/macros.pod. I guess my version of imcc is old (-: The update your parrot please. A lot of these issues are documented and solved. For instance, in the interests of speed, it would be nice if perl6 builtins written in perl6 wou

Re: IMCC and multiple source files

2003-03-06 Thread Joseph F. Ryan
Leopold Toetsch wrote: Joseph F. Ryan wrote: I'm really curious as to this myself. I didn't even know an "include" existed; its not in the imcc docs. Its in docs/macros.pod, though this file is not mentioned in the main doca AFAIK. I don't have a docs/macros.pod. I guess my version of

Re: IMCC and multiple source files

2003-03-06 Thread Leopold Toetsch
Joseph F. Ryan wrote: I'm really curious as to this myself. I didn't even know an "include" existed; its not in the imcc docs. Its in docs/macros.pod, though this file is not mentioned in the main doca AFAIK. ... I only bring this up because around a month ago, I started working on use/inc

Re: IMCC and multiple source files

2003-03-06 Thread Joseph F. Ryan
K Stol wrote: Hello, Just 1 more question, for me to get it right. When I have 2 modules, for example like this: ---main.imc--- .sub _main bsr _hellosub end .end .include hello.imc -- ---hello.imc-- .sub _hellosub /* print "hello" or whatever */ ret .end ---

Re: IMCC and multiple source files

2003-03-06 Thread Leopold Toetsch
K Stol wrote: Hello, Just 1 more question, for me to get it right. When I have 2 modules, for example like this: ---main.imc--- .sub _main bsr _hellosub end .end .include hello.imc -- ---hello.imc-- .sub _hellosub /* print "hello" or whatever */ ret .end ---

Re: IMCC and multiple source files

2003-03-06 Thread K Stol
Klaas-Jan - Original Message - From: "Leopold Toetsch" <[EMAIL PROTECTED]> To: "K Stol" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2003 4:44 PM Subject: Re: IMCC and multiple source files > K Stol wrote: > > > he

Re: IMCC and multiple source files

2003-03-04 Thread Leopold Toetsch
K Stol wrote: hello, Is it possible to have a program, which consists of multiple IMCC source files? Not yet, directly. As a workaround, other files can be .include-ed into main, at least from now on, I have committed a change and a test for this. Are there some kind of 'header'-like files?

IMCC and multiple source files

2003-03-04 Thread K Stol
hello, Is it possible to have a program, which consists of multiple IMCC source files? So, something like this: (pseudo code, don't know IMCC (yet)) - /* File #1: */ ... call funcA ... sub funcB(x) /* do something */ end sub ...