Re: [Mono-list] Compiling egg-chicken libraries

2004-03-22 Thread max
hi, I know this is a little old, but this email just got in my mailbox, and as such is always worth some attention. On Tuesday 16 March 2004 20:27, Fergus Henderson wrote: On 26-Feb-2004, Ben Maurer [EMAIL PROTECTED] wrote: Max is right here. Chicken/Egg is a design problem. No, Max is

Re: [Mono-list] Compiling egg-chicken libraries

2004-03-16 Thread Fergus Henderson
On 26-Feb-2004, Ben Maurer [EMAIL PROTECTED] wrote: Max is right here. Chicken/Egg is a design problem. No, Max is wrong. All other things being equal, designs that do not involve mutual recursion are preferable to designs that do, but mutual recursion is not in and of itself a design problem

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-27 Thread Jonathan Gilbert
I wasn't able to make it with the example you gave (Object in VB.NET, Stub in C#), apparently due to a bug in VB.NET (all it would tell me was vbc : Command line error BC2010 : compilation failed : '0xC005' -- that big hex number looks suspiciously like the win32 hardware exception code for an

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-27 Thread Ben Maurer
Ok, now how are you going to generate stubs? That will require a full parser for *any* language. This would sort of screw up the `works for any language' thingy, because it would become `works for any supported language'. The question you need to answer is: Given two files in two seperate

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Ben Maurer
Message - From: Martin Tsachev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 2:03 PM Subject: [Mono-list] Compiling egg-chicken libraries -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have some code that compiles in Visual Studio but I

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Jaroslaw Kowalski
- Original Message - From: Stuart Ballard [EMAIL PROTECTED] To: Jaroslaw Kowalski [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:41 PM Subject: Re: [Mono-list] Compiling egg-chicken libraries Jaroslaw Kowalski wrote: I need (as an option

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Stuart Ballard
Jaroslaw Kowalski wrote: This is a killer problem. The actual code from Objects is here. I don't want to pollute it with any unnecessary patterns. No factories, adaptors, facades. BTW. Some stubs return instances of business objects. This doesn't look possible in your case. Well, they can return

RE: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Nick Berardi
Many of the IDE's out there already do this. At least in the Windows World. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Maurer Sent: Thursday, February 26, 2004 1:34 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Mono-list] Compiling

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Ben Maurer
The point is that you *cant* pass both files in. Pretend Object is written in Visual Basic, and stub in C#. I did not prove this case was impossible, however I see no clear way to do it. I would love to be proved wrong. One thing to consider is how one can make a tool that is smart enough to

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-26 Thread Jonathan Gilbert
At 09:52 AM 26/02/2004 -0500, you wrote: [snip] For example, if you need to have: Stub: abstract class Foo { abstract MyClass Doit (int i); } Object: class MyClass {} classy MyFoo : Foo { override MyClass DoIt (int i) {} } I don't think there is a way to bootstrap this. (well, there

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-25 Thread max
PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 2:03 PM Subject: [Mono-list] Compiling egg-chicken libraries -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have some code that compiles in Visual Studio but I didn't have much luck trying to compile it with mono

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-25 Thread Ben Maurer
- Original Message - From: Martin Tsachev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 2:03 PM Subject: [Mono-list] Compiling egg-chicken libraries -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have some code that compiles in Visual

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-25 Thread Jaroslaw Kowalski
] To: [EMAIL PROTECTED] Sent: Thursday, February 26, 2004 4:35 AM Subject: Re: [Mono-list] Compiling egg-chicken libraries shouldn't you avoid such situations in the first place ? Isn't this a design issue, more than a compilation issue ? On Tuesday 24 February 2004 05:16, Jaroslaw Kowalski wrote

[Mono-list] Compiling egg-chicken libraries

2004-02-24 Thread Martin Tsachev
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have some code that compiles in Visual Studio but I didn't have much luck trying to compile it with mono. The problem is that I have lib1 and lib2 and each instantiates an object with a class definition in the other library. I found in

Re: [Mono-list] Compiling egg-chicken libraries

2004-02-24 Thread Jaroslaw Kowalski
of the library that's used by the second library. Jarek - Original Message - From: Martin Tsachev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 2:03 PM Subject: [Mono-list] Compiling egg-chicken libraries -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have