tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Using tcc for reflection


From: Elijah Stone
Subject: Re: [Tinycc-devel] Using tcc for reflection
Date: Mon, 31 Jan 2022 21:30:42 -0800 (PST)

On Tue, 1 Feb 2022, Yair Lenga wrote:

1. Is it possible to use tcc to create shared libraries (.so) that can be 
dynamically linked into existing program using dlopen, dlsym ?

yes


2. Does tcc support the ‘cleanup’ variable attribute - to run cleanup function 
when variable get out of scope (gif extension).

yes


3. Is it possible to use tcc to introspect variables - make it possible to 
print current variables (subset) from the simulation at specific point ? This 
is needed to debug the model.

no, but if you are generating the code it should not be difficult to do
this yourself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]