Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.lang.c Subject: Re: dynamic loaders Message-ID: <12532@dog.ee.lbl.gov> Date: 26 Apr 91 16:24:37 GMT References: <14530@ccncsu.ColoState.EDU> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Distribution: usa Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 17 X-Local-Date: Fri, 26 Apr 91 09:24:37 PDT In article <14530@ccncsu.ColoState.EDU> swanbacd@handel.cs.colostate.edu (daniel thom swanback) writes: >Gentlemen, > This is a problem that I have encountered frequently and has >produced a stall in my current efforts. Conceptually, I need to >be able to use the type of the data as a variable itself. Then you are using the wrong language. Go read about Smalltalk, or Lisp flavors, or something. If you are bound and determined to do this in C, you must implement your own type function binding systems. You may want to just write a complete C interpreter, although from your description it sounded as though you might be able to omit one or two things. -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov