Capital on Nostr: Thought: Factors embedded API doesn't allow you to register external functions into ...
Thought: Factors embedded API doesn't allow you to register external functions into Factor. Additionally, you can't reach in an access Factors internal state.
HOWEVER!
I can write Factor code the exposes callbacks from C to Factor. I can write C code that exposes functions from Factor to C.
THUS!
I can store those callbacks in memory in a way the C side can access them again later. Giving me a way to expose Factor code through a C API.
HOWEVER!
I can write Factor code the exposes callbacks from C to Factor. I can write C code that exposes functions from Factor to C.
THUS!
I can store those callbacks in memory in a way the C side can access them again later. Giving me a way to expose Factor code through a C API.