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

Please clarify license #11

Closed
TzviPM opened this issue Oct 26, 2022 · 8 comments
Closed

Please clarify license #11

TzviPM opened this issue Oct 26, 2022 · 8 comments

Comments

@TzviPM
Copy link

TzviPM commented Oct 26, 2022

This seems like an interesting project, and I'd love to use some of the concepts here for my own toy compiler. Can you please clarify what license this code is released under?

Unless you have reason not to, please consider choosing an OSI Approved license from https://spdx.org/licenses/. Examples include:

@TzviPM
Copy link
Author

TzviPM commented Oct 28, 2022

Note: it seems much of the logic here is already under Apache 2.0 based on Github's ToS and your issue microsoft/TypeScript#47658

@marcj
Copy link
Owner

marcj commented Nov 2, 2022

Fixed

@marcj marcj closed this as completed Nov 2, 2022
@TzviPM
Copy link
Author

TzviPM commented Nov 2, 2022

Thanks @marcj is your work based on this paper at all? I'm curious as to how you came up with the byte code approach. I love the work you're doing here :)

Sergey, I., & Clarke, D. (2011). From type checking by recursive descent to type checking with an abstract machine. Proceedings of the Eleventh Workshop on Language Descriptions, Tools and Applications, 1–7. https://doi.org/10.1145/1988783.1988785

@marcj
Copy link
Owner

marcj commented Nov 2, 2022

@TzviPM thanks. It's not based on a paper, I didn't know there is literature about it (I also didn't look for any), so it's more intuitive off the top of my head from my experience. felt only natural to me to "serialise" as much expensive-to-get knowledge as possible to some format (in this case bytecode) and then execute the program on another abstraction (type level)

@marcj
Copy link
Owner

marcj commented Jan 1, 2024

@TzviPM do you need help implementing this approach in Flutter?

@TzviPM
Copy link
Author

TzviPM commented Jan 1, 2024

@TzviPM do you need help implementing this approach in Flutter?

Thanks for the offer @marcj. I'm not currently working on Flutter, but perhaps someone on the core dart team would be interested.

@marcj
Copy link
Owner

marcj commented Jan 12, 2024

@TzviPM thanks! I thought you were since you have it in your bio. Could you please refer/intro me to some core member that might be interested?

@TzviPM
Copy link
Author

TzviPM commented Jan 12, 2024

I'm wondering if @munificent would be a good contact. Last we spoke, he was working on the formal dart specification. Perhaps this could lend itself to part of a formal type semantics. I also wonder if this could be impactful for the dart VM for smaller byte-size representation of runtime types.

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

No branches or pull requests

2 participants