I'm thinking about using tcc as game scripting language.
Not really sure if it's a good idea or if it's practical.
I want to believe that it is, but it might quite verbose to use.
Not really sure if it's a good idea or if it's practical.
I want to believe that it is, but it might quite verbose to use.
Yes, the source may be verbose. But, the API exposed would be C, and most systems have a C FFI.
Instead of TCC, you may wish to consider Quick JS (Bellard's Javascript interpreter).
The reason I use TCC is to validate C code. TCC evaluates arguments left to right, whereas GCC does right to left...