|
From: | David Mertens |
Subject: | Re: [Tinycc-devel] Dynamic code generation |
Date: | Wed, 21 Aug 2013 13:01:05 -0400 |
Hi David.
Interesting idea. I think you will be restricted to using one state at a time.
On Sun, Aug 18, 2013 at 09:22:04PM -0500, David Mertens wrote:
> John -
>
> This is *very* interesting. One thing that I have been dreaming about is
> the ability to have some major module partially compile code once and then
> allow the "user" to plug in miscellaneous expressions and finish the
> compilation. It sounds like your patch might allow this sort of
> functionality, or be the first step towards something like that. :-D
States with overlapping lifetimes probably not going to work.
This is just a guess based on whatever I gathered from poking around
the source, havn't tried it myself.
[.. snip ..]
This assertion is most likely incorrect. It looks like tcc_delete()
> > It seems necessary to carry around the entire TCCState when
> > only the memory for the code is really of interest. tcc_delete()
> > deletes the memory provided by the user
does the right thing.
John
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |