public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Multiple (serialized) messages in Objective-C
@ 2004-12-02  0:06 Pupeno
  2004-12-09  2:35 ` Pupeno
  0 siblings, 1 reply; 4+ messages in thread
From: Pupeno @ 2004-12-02  0:06 UTC (permalink / raw)
  To: gcc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, this is my first time posting to this mailing list.
I'm learning Objective-C (after having worked a lot of time with C and C++) 
and I've found it doesn't have a way to send various messages to the same 
object so, I wanted to implement it. I don't know how capable of that I am, 
but if I don't try, I'll never will.
I've never even read gcc's source code... being that it's so big and that I 
have never worked in any kind of compiler, I bet that I will totally lost. 
So, can anyone give me some kind a guidance in this task ? I really want to 
do, but I don't think I can do it alone (I wouldn't even know how to install 
gcc and test it without install it for my whole system, or in which branch of 
gcc I should work).
What I want to do is something like this:
Turn [objc msg1]; [objc msg2]; into something like this [obj msg1; msg2]; but 
I wouldn't know if that's the right syntax.
Can anybody help me ?
Thank you.
- -- 
Pupeno: pupeno@pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBrlzVfW48a9PWGkURAm9yAJ9rAk5nnxi9bZBRMgkohxF2NOxnBQCfRyyP
B0W66BsY+QZmhIuQWkImRXU=
=BqhS
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple (serialized) messages in Objective-C
  2004-12-02  0:06 Multiple (serialized) messages in Objective-C Pupeno
@ 2004-12-09  2:35 ` Pupeno
  2004-12-09  4:07   ` Ernest L. Williams Jr.
  2004-12-09  9:31   ` Mike Stump
  0 siblings, 2 replies; 4+ messages in thread
From: Pupeno @ 2004-12-09  2:35 UTC (permalink / raw)
  To: gcc

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Was this the wrong mailing list for this mail ? Is there a better mailing 
list ? Or is it everybody too busy with Objective-C++ right now ?
Thanks.
Je Merkredo Decembro 1 2004 21:07, Pupeno skribis:
> Hello, this is my first time posting to this mailing list.
> I'm learning Objective-C (after having worked a lot of time with C and C++)
> and I've found it doesn't have a way to send various messages to the same
> object so, I wanted to implement it. I don't know how capable of that I am,
> but if I don't try, I'll never will.
> I've never even read gcc's source code... being that it's so big and that I
> have never worked in any kind of compiler, I bet that I will totally lost.
> So, can anyone give me some kind a guidance in this task ? I really want to
> do, but I don't think I can do it alone (I wouldn't even know how to
> install gcc and test it without install it for my whole system, or in which
> branch of gcc I should work).
> What I want to do is something like this:
> Turn [objc msg1]; [objc msg2]; into something like this [obj msg1; msg2];
> but I wouldn't know if that's the right syntax.
> Can anybody help me ?
> Thank you.

- -- 
Pupeno: pupeno@pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBt7p3fW48a9PWGkURAll1AJ9LAyKvPXoONfrgXjruGHHz076QvACdFxKG
ly3em23Fq4rA2vccx6rnfLM=
=XodP
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple (serialized) messages in Objective-C
  2004-12-09  2:35 ` Pupeno
@ 2004-12-09  4:07   ` Ernest L. Williams Jr.
  2004-12-09  9:31   ` Mike Stump
  1 sibling, 0 replies; 4+ messages in thread
From: Ernest L. Williams Jr. @ 2004-12-09  4:07 UTC (permalink / raw)
  To: Pupeno; +Cc: GCC

On Wed, 2004-12-08 at 23:37 -0300, Pupeno wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Was this the wrong mailing list for this mail ? Is there a better mailing 
> list ? 
You should use the gcc-help mailing list.



> Or is it everybody too busy with Objective-C++ right now ?
> Thanks.
> Je Merkredo Decembro 1 2004 21:07, Pupeno skribis:
> > Hello, this is my first time posting to this mailing list.
> > I'm learning Objective-C (after having worked a lot of time with C and C++)
> > and I've found it doesn't have a way to send various messages to the same
> > object so, I wanted to implement it. I don't know how capable of that I am,
> > but if I don't try, I'll never will.
> > I've never even read gcc's source code... being that it's so big and that I
> > have never worked in any kind of compiler, I bet that I will totally lost.
> > So, can anyone give me some kind a guidance in this task ? I really want to
> > do, but I don't think I can do it alone (I wouldn't even know how to
> > install gcc and test it without install it for my whole system, or in which
> > branch of gcc I should work).
> > What I want to do is something like this:
> > Turn [objc msg1]; [objc msg2]; into something like this [obj msg1; msg2];
> > but I wouldn't know if that's the right syntax.
> > Can anybody help me ?
> > Thank you.
> 
> - -- 
> Pupeno: pupeno@pupeno.com - http://www.pupeno.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> 
> iD8DBQFBt7p3fW48a9PWGkURAll1AJ9LAyKvPXoONfrgXjruGHHz076QvACdFxKG
> ly3em23Fq4rA2vccx6rnfLM=
> =XodP
> -----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Multiple (serialized) messages in Objective-C
  2004-12-09  2:35 ` Pupeno
  2004-12-09  4:07   ` Ernest L. Williams Jr.
@ 2004-12-09  9:31   ` Mike Stump
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Stump @ 2004-12-09  9:31 UTC (permalink / raw)
  To: Pupeno; +Cc: gcc

On Wednesday, December 8, 2004, at 06:37  PM, Pupeno wrote:
> Je Merkredo Decembro 1 2004 21:07, Pupeno skribis:
>> I'm learning Objective-C (after having worked a lot of time with C 
>> and C++) and I've found it doesn't have a way to send various 
>> messages to the same object so, I wanted to implement it. I don't 
>> know how capable of that I am, but if I don't try, I'll never will.
>> I've never even read gcc's source code... being that it's so big and 
>> that I
>> have never worked in any kind of compiler, I bet that I will totally 
>> lost.
>> So, can anyone give me some kind a guidance in this task ?

gcc is not best suited for people that need guidance.  Works better for 
self starters that just jump right in, find the code they are 
interested in, and just make it do what they want.  Helps to already 
know gdb, to have read the relevant parts of the compiler documentation 
including gcc/doc/*.texi as well as gcc/*.[ch], gcc/*/*.[ch] and 
friends, know what 
yacc/make/sh/autoconf/automake/libtool/dejagnu/expect/tcl/awk is and 
how they work...  :-)

>> I really want to do, but I don't think I can do it alone (I wouldn't 
>> even know how to install gcc

make install, and this is covered in the documentation.  We shy away 
from helping anyone that doesn't read the documentation on this list.  
make install is pretty basic.  If you need help with that, then you'll 
want to read large swaths of our docs first and play around a bit to 
get a feel for it.

>> and test it without install it for my whole system,

This too is covered in the docs.

>> or in which branch of gcc I should work).

As is this.

So, if you are serious, check out the web site, find the getting gcc 
source documentation, get the source, read it, find the parts you are 
interested in most, read them, build it up, install it, run the 
testsuite, fire up gdb, set a break point near where you want, watch 
what the compiler does... and then change it to do something fun, 
compile it up and see if it does...  :-)

You can try and add a builtin that does what you want, and then add the 
syntax of your choice, or maybe you want to accept the syntax first, 
and then build it up.

If you you discover you don't have sh/make/cc, then you'll want to go 
explore how to get those things...  Those types of questions aren't 
suitable for this list.

This list is for the type of questions like, I'm trying to use 
objc_cons_method, but the second argument is just too cryptic and the 
documention is lacking, how do I create one of those?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-09  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02  0:06 Multiple (serialized) messages in Objective-C Pupeno
2004-12-09  2:35 ` Pupeno
2004-12-09  4:07   ` Ernest L. Williams Jr.
2004-12-09  9:31   ` Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).