This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: A Question
- From: Jeffrey Walton <noloader at gmail dot com>
- To: Thomas Dineen <tdineen at ix dot netcom dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sun, 2 Aug 2015 07:41:42 -0400
- Subject: Re: A Question
- Authentication-results: sourceware.org; auth=none
- References: <55BA6F45 dot 8040703 at ix dot netcom dot com>
- Reply-to: noloader at gmail dot com
On Thu, Jul 30, 2015 at 2:39 PM, Thomas Dineen <tdineen@ix.netcom.com> wrote:
> Gentle People:
>
> Please excuse any concerns about this question being posted to the wrong
> reflector
> as I am not sure where to ask this question!
>
> Question: Concerning applications which read in and then compile or
> interpret a script
> (Source) which contains C or C++ code or code which is similar to C/C++. The
> script once
> built becomes a function which is executable via the top level application
> menus.
>
> How is this concept implemented?
>
> Can one build a dynamic link library in an application (via gcc) and
> then execute the
> function contained in that library in the same application?
>
> One might call the new function as a subprogram?
>
> P.S. Is there a better reflector for this type of application question?
I think there is a lot to the topic. Do you have a compiler book you
can read for higher level concepts, like that sort of design element?
When I studied the topic in school, we used the red dragon book
(http://www.amazon.com/dp/0321486811).
Jeff