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

Refactor/driver #186

Merged
merged 23 commits into from
Mar 15, 2023
Merged

Refactor/driver #186

merged 23 commits into from
Mar 15, 2023

Conversation

leissa
Copy link
Member

@leissa leissa commented Mar 10, 2023

This is an intermediate step for #185

Changes

  • Loading plugins as well as managing Passes, Normalizers, Backends, and search paths is being dealt with by Driver.
    This requires way less bookkeeping and boilerplate to load plugins.
  • New option -l to list search paths in order
  • Made a couple of members private and added proper getters + setters
  • We now have namespace fs = std::filesystem
  • Some minor things here and there like making things more consistent or removing unused stuff
  • I started using the term "plugin" instead of "dialect". This is not consistent yet and will come in a future PR as I didn't want the diff going bonkers.

@leissa leissa marked this pull request as ready for review March 15, 2023 10:28
thorin/pass/pipelinebuilder.cpp Show resolved Hide resolved
thorin/util/log.h Show resolved Hide resolved
@leissa leissa merged commit ca844e8 into master Mar 15, 2023
@leissa leissa deleted the refactor/driver branch March 15, 2023 15:23
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.

None yet

2 participants