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

Parserst #77

Merged
merged 3 commits into from
Sep 9, 2023
Merged

Parserst #77

merged 3 commits into from
Sep 9, 2023

Conversation

deinst
Copy link
Contributor

@deinst deinst commented Sep 9, 2023

This is code to generate most of a flintlib pxd file from an rst file. It is ugly as sin, but it should work. (A less comprehensible version generated most of the existing pxd files)

@oscarbenjamin
Copy link
Collaborator

Nice. I added some command line options to set the paths (rather than hard-coding).

A future improvement would be to build on this script and get the .pxd files to the point where there is some script that generates all of them in one go.

An improvement beyond that would be to generate not just the .pxd files but a bunch of "level 0" .pyx files with callable Python functions that wraps every single one of these C functions (#54)

@oscarbenjamin oscarbenjamin merged commit 1bbde28 into flintlib:master Sep 9, 2023
6 of 7 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.

2 participants