|
From: | Joey Payne |
Subject: | Re: [Tinycc-devel] TinyCC REPL |
Date: | Wed, 13 May 2015 06:50:57 -0600 |
Hi David,
I may be misunderstanding, but doesn't the current implementation already have a master symbol table? I was just trying to hack that into giving me what I want. Do you think it would be easier with your fork?
DavidFor what it's worth, I'm working on a fork of TCC that knows how to work with multiple symbol tables. Each line of the REPL would be an independent compilation unit. You would have to hack a little bit, but you could then copy the contents of each single-line symbol table into a master symbol table. This way you would only have to actually compile a single line at a time.But it'll take a bit of work, I suspect. How much hacking do you want to do to get this to work? :-)On Tue, May 12, 2015 at 10:48 PM, Sergey Korshunoff <address@hidden> wrote:> Can you add clarification to why you added "#include <tcclib.h>" to the start of the compiled > string? Is this necessary?
printf() and so declarations :-)
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
--"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |