Skip to content

Initial attempt at ast builtin module #134

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

Merged
merged 5 commits into from
Sep 7, 2018
Merged

Initial attempt at ast builtin module #134

merged 5 commits into from
Sep 7, 2018

Conversation

windelbouwman
Copy link
Contributor

This is an initial attempt at the ast builtin module. Comments or ideas are welcome!

Question I mostly have is how can you create classes in a module, and create instances of those classes.

Another topic is that I really feel a macro could come in handy here.

@cthulahoops
Copy link
Collaborator

I saw someone using pybind11 recently, and it has quite an interesting API for declaring python classes in C++. I haven't used it, so I don't know how well it works in practice, but it looks like it might be interesting to learn from.

https://pybind11.readthedocs.io/en/stable/

@cthulahoops cthulahoops merged commit 416e48b into master Sep 7, 2018
@windelbouwman
Copy link
Contributor Author

Allright, that is an interesting project indeed!

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