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

feat: add settings.compiler.flags #45

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

Pranavchiku
Copy link
Member

This PR adds compilerFlags option to settings.

image

@certik certik requested a review from dylon December 21, 2024 14:09
Copy link
Contributor

@certik certik left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@dylon can you please review this and merge this?

Copy link
Collaborator

@dylon dylon left a comment

Choose a reason for hiding this comment

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

We need to change the configuration type of the compiler flags to be an array of strings and DRY up how we concatenate the flags, but this looks good otherwise. I'll submit a PR against this feature branch with my proposals so I don't block you.

EDIT: Here are my recommended changes: Pranavchiku#1

package.json Show resolved Hide resolved
server/src/lfortran-accessors.ts Show resolved Hide resolved
server/src/lfortran-accessors.ts Show resolved Hide resolved
server/src/lfortran-accessors.ts Show resolved Hide resolved
server/src/lfortran-accessors.ts Show resolved Hide resolved
server/src/lfortran-types.ts Show resolved Hide resolved
@Pranavchiku
Copy link
Member Author

@dylon thanks for the review! Feel free to cherry-pick required commits here directly. I’ll be on work in around 1.5 hrs from now. So if you can wrap this, it would be awesome.

@certik
Copy link
Contributor

certik commented Dec 23, 2024

@dylon if you could please finish it, that would be great. @Pranavchiku is focusing on module location information which will take some time.

@dylon dylon merged commit f596765 into lfortran:main Dec 23, 2024
5 checks passed
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.

3 participants