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

Inheritance support #120 #157

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

agentgt
Copy link
Contributor

@agentgt agentgt commented Nov 30, 2023

@samskivert

This PR adds inheritance support. It currently passes all the spec tests as well as some additional ones I added via custom yaml files.

I have tried not break API by making the Visitor interface use default methods. I'm not sure if the default I chose is correct for blocks and parents (currently skipped).

This should fix #120

Before we add additional optional specification enhancements I think we should do a release. The other optional things like dynamic names are not nearly requested as much and frankly I consider them dangerous but we can add them later.

I tried to follow your formatting but I may have slipped in a few places. I plan on setting up a formatter that follows the style but just haven't gotten around to it yet.

Turn on inheritance tests. Some whitespace issues.

Recursion working but multi standalone broken

Make inheritance pass spec tests
@samskivert samskivert merged commit a697d1c into samskivert:master Nov 30, 2023
4 checks passed
@samskivert
Copy link
Owner

Thanks!

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.

Support for template inheritance extension
2 participants