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

C backend #25

Closed
wants to merge 7 commits into from
Closed

C backend #25

wants to merge 7 commits into from

Conversation

erlingrj
Copy link
Collaborator

The support for C based programs was more-or-less there. I did two minor things:

  • Update to --output-path which is that argument lfc expects
  • Look for lfc on the path, not rustc as was done previously

@erlingrj erlingrj linked an issue Jun 30, 2023 that may be closed by this pull request
Copy link
Member

@tanneberger tanneberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clement already did some refactorings, maybe worth merging this changes (#19). And there is no C Backend yet ;D

@@ -23,11 +23,11 @@ impl Backend for LFC {
let reactor_copy = self.target.main_reactor.clone();

let build_lambda = |main_reactor: &String| -> bool {
println!("building main reactor: {}", &main_reactor);
println!("--- Building main reactor: {}", &main_reactor);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we actually maybe need to think about using some proper logging library where we also then can configure verbosity.

@erlingrj erlingrj closed this Jul 3, 2023
@tanneberger tanneberger deleted the c-backend branch October 1, 2023 00:35
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

Successfully merging this pull request may close these issues.

Add C TargetLanguage
2 participants