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

SVG #181

Merged
merged 9 commits into from
Sep 20, 2022
Merged

SVG #181

merged 9 commits into from
Sep 20, 2022

Conversation

mhanberg
Copy link
Owner

No description provided.

Fixed the weird behaviour problem by defining types for each of the ast
nodes and then referencing those types when defining the ast type.

Unclear why this works, but I imagine it has to do with the types not
being a big part of the compilation process or something.
This also uses the typed_struct library to do so. Seems pretty slick and
does what it claims it does.
This basically just adds svg elements as void and nonvoid element
aliases and it works, will test on a real proejct before releasing the
next release.
@mhanberg mhanberg marked this pull request as ready for review September 20, 2022 00:19
This complicates the code, and since they are already deprecated, those
who are writing Temple probably won't be using them
@mhanberg mhanberg merged commit 99cbb42 into main Sep 20, 2022
@mhanberg mhanberg deleted the mh/svg branch September 20, 2022 00:35
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.

1 participant