Skip to content
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

Enhancement: A tool to convert normal C to the OCCIL dialect #967

Open
ghost opened this issue Oct 17, 2023 · 3 comments
Open

Enhancement: A tool to convert normal C to the OCCIL dialect #967

ghost opened this issue Oct 17, 2023 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2023

No description provided.

@GitMensch
Copy link
Contributor

What do you mean by that? OCCIL translates C to IL ?!?

@ghost
Copy link
Author

ghost commented Oct 17, 2023

What do you mean by that? OCCIL translates C to IL ?!?

OCCIL defines it own dialect, not the same as standard C.

@LADSoft
Copy link
Owner

LADSoft commented Oct 19, 2023

while occil does define its own dialect, it should support most standard C programs up through C11, if you don't expect to have things like the threads library and complex numbers. The alterations to the dialect beyond that mostly define new types for strings and objects, and a few C++-like features to support namespace and class traversal. This is all in support of using .net assemblies.

But it should be stressed you don't have to use .net assemblies. occil will access native dlls, and uses msvcrt.dll (by default) to access the C runtime library. You can also have it use lscrtl.dll to get more recent additions to the runtime that are available in Orange C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants