-
Notifications
You must be signed in to change notification settings - Fork 58
Livelits #1465
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
Conversation
Co-authored-by: Gregory Croisdale <[email protected]>
https://github.com/hazelgrove/hazel/tree/livelit-lift-syntax I attempted to replace my model replacement function with the existing lift-syntax, and ran into some errors when replacing the model -- namely, a nebulous error called "Not_found"... I had these in earlier versions of my replace model function, eventually finding stability when I replaced the labels of the existing syntax without modifying the shape or ids of the syntax. Example: @disconcision Any ideas here? |
Co-authored-by: andrew blinn <[email protected]>
We now do a full replacement of the syntax (including the livelit name). What cause the previous crash in livelit-lift-syntax is still unknown, but is resolved for now. Thanks @disconcision! |
… converting from hazel Co-authored-by: alexander bandukwala <[email protected]>
For built-in livelits, we need a function to determine if an exp is a value, lives in Statics (static value checker) |
@cyrus- Made the changes we talked about earlier today, and a couple more for stability + error reporting |
This merge brings a implementation of Livelits, proposed by https://hazel.org/papers/livelits-pldi2021.pdf, with some built-in examples.
Examples:
Timestamp(Can't keep up)Issues:
Limitations of projectors, to be fixed in separate PR:
Future PRs:
Cannot define Livelits during runtime, Livelits don't have access to context -- this needs to be revealed to projectorsLivelit invocation must be directly surrounded by a parenthesis in order to be grouped in InfoExp; example:(^emotion(100))
-- this is a current limitation of projectors