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

actorcompiler should run after c++ preprocessor during the build process #10176

Open
xis19 opened this issue May 8, 2023 · 1 comment
Open

Comments

@xis19
Copy link
Collaborator

xis19 commented May 8, 2023

It is hard, if not impossible, to create a state variable via macro expansion since macros are expanded after actorcompiler.

@jzhou77
Copy link
Contributor

jzhou77 commented May 10, 2023

This would require actorcompiler understands macros, which is not the case now. The current compilation steps are: 1) run actorcompiler to transpile .actor.* to .actor.g.*, and 2) gcc/clang compiles .actor.g.*.

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

No branches or pull requests

2 participants