Open zezba9000 opened 6 years ago
Ouf, I don't notice this issue. Our discussion is here
Ya, it try block methodology by Dr. Nidito? I know it and the IL2C's based on it. (It's the sample) The .NET CLS has a lot of typed exceptions. We have to identicate the CLS types at runtime. So all CLS types have the runtime-information table. We can choice the runtime type at the exception handler by the table pointer what caught the exception type.
Thanks @zezba9000 suggests for me to what problem for C89 scope block, I reopen this issue and save for memorize for me ;)
Ok cool. This is one of the best C# / .NET projects I've seen!
One other suggestion is you might consider adding "tags" to your GitHub project page. I've searched for IL2C on GitHub and Google many times but never found this for some reason.
Are you explaining it about the "GitHub topics?" I didn't know it! I'll set it.
Yes the "GitHub topics". Makes it easier for others to find your project :)
To support c89 with try catch you could base your output off "setjmp" && "longjmp".
To support c89 local variable scoping rules. You could define all of local variables that live on the stack at the top of each block. Example:
I use the c65 compiler to test out portability: https://github.com/cc65/cc65