-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: C target #2465
Comments
I'm currently working with c++ target and there are some feature requests that I'd like to see in C target:
I'd also like to see CI with sanitizers and fuzzing (C++ target have some UBs and leaks that I can't properly trace). |
FYI i've started looking into how ATN works and making some drafts for C runtime. |
Fantastic. Thank you! |
Bump :) |
Well I'm still on it, but things are moving quite slowly because my job takes all the time. So far I've implemented basic support structures — list, hashmap, interval set, memory pool etc., I also have ATN classes and deserialization for them. I'm working on lexer simulator and DFA. You can track progress in my fork. Some code review would be appreciated. |
Maybe it would be better to create C wrapper for C++ runtime implementation. It makes me think that we should really work on single C compatible runtime. It seems to me that the C++ runtime is not finished and I am not sure when it will be done. |
@AmatanHead, may I ask if your C target is still in progress? Your fork mentioned above is inaccessible. |
Personally, I think it is too much work and maintenance to create a C target for v4. Or I would have probably done it. Not impossible, but there are is a lot of OOP stuff in v4 that means you either have a ton of simulation or a completely different system. Even a link compatible C++ runtime would be work. |
Antlr3 had one, and it'd be awesome if Antlr4 did, too.
The text was updated successfully, but these errors were encountered: