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

cpp backend #62

Merged
merged 66 commits into from
Jul 24, 2024
Merged

cpp backend #62

merged 66 commits into from
Jul 24, 2024

Conversation

katrinafyi
Copy link
Member

@katrinafyi katrinafyi commented Mar 20, 2024

a backend to generate a lifter hosted in C++ and targeting LLVM IR.

  • specify default directories in a central location instead of within backend. revert backend dir option to be non-optional.
  • implement missing gen functions
    • stubbed
    • fix bits/ bigint confusion
  • implement missing global variables
    • stubbed
    • make them abstract somehow? need to differentiate local and global variables
  • think about how to generalise to different targets
    • this is just tagless final again - maybe earlier work is useful
    • implement traits class to avoid excessive template arguments
  • think about bigint library (maybe long long is enough)
  • meson:
    • can a pkg-config be used to distribute cpp files? otherwise, will have to use full subproject a. a: probably not, need to distribute entire meson project
    • split instantiation into -instantiate and -llvm projects to support reuse. maybe merge instantiate with gen
  • integrate with alive
    • probably via pkgconfig

work in progress. commits will be cleaned before merge.

@katrinafyi katrinafyi changed the title [Wip] cpp backend [wip] cpp backend Mar 20, 2024
@katrinafyi katrinafyi changed the title [wip] cpp backend [WIP] cpp backend Mar 20, 2024
@katrinafyi katrinafyi force-pushed the cpp-backend branch 2 times, most recently from f53bd05 to 6a3cecb Compare March 25, 2024 07:39
@katrinafyi katrinafyi force-pushed the cpp-backend branch 3 times, most recently from 0b51147 to 30ddb1b Compare April 4, 2024 08:43
@katrinafyi katrinafyi changed the title [WIP] cpp backend cpp backend Jul 19, 2024
@katrinafyi katrinafyi marked this pull request as ready for review July 19, 2024 06:43
@ailrst ailrst merged commit a19d5ab into partial_eval Jul 24, 2024
2 checks passed
@katrinafyi katrinafyi deleted the cpp-backend branch July 24, 2024 05:40
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.

2 participants