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

Int64 and Float64 #15

Merged
merged 5 commits into from
Mar 22, 2019
Merged

Int64 and Float64 #15

merged 5 commits into from
Mar 22, 2019

Conversation

Kampfkarren
Copy link
Member

Side note, there's a LOT of repetitive code in this codebase. A proc macro would do this wonders.

@LPGhatguy
Copy link
Contributor

A proc macro is probably too much, but I'm definitely interested in expanding the use of traits and regular macros!

I've been trying to be pretty cautious since I don't want to introduce fragile abstractions that we'll have to knock down as our understanding of the formats progress!

@LPGhatguy
Copy link
Contributor

Looks good! I might go through and update the macro to use something like paste instead of a module, or maybe I'll refactor all of the types to be contained in modules and stop importing them.

@LPGhatguy LPGhatguy merged commit bfb48a5 into rojo-rbx:master Mar 22, 2019
@Kampfkarren
Copy link
Member Author

I wasn't entirely sure how to make the macro, just that it needed one, that's why the syntax for it is so weird.

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