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

Blocks to LISP-y code to Blocks #1518

Closed
wants to merge 9 commits into from
Closed

Blocks to LISP-y code to Blocks #1518

wants to merge 9 commits into from

Conversation

gsteinLTU
Copy link
Member

@gsteinLTU gsteinLTU commented Feb 23, 2024

Porting over the Snap v10 changes that enable this

@gsteinLTU
Copy link
Member Author

myRole script pic (62)

@gsteinLTU gsteinLTU linked an issue Feb 23, 2024 that may be closed by this pull request
@gsteinLTU
Copy link
Member Author

Round trip is now possible:

myRole script pic (63)

myRole script pic (64)

@gsteinLTU
Copy link
Member Author

myRole script pic (65)

@gsteinLTU
Copy link
Member Author

gsteinLTU commented Feb 24, 2024

Round trip with RPC blocks myRole script pic (66)

(getJSFromRPCStruct CloudVariables getVariable (reportUnicodeAsLetter (unicode a)) (reportUnicodeAsLetter (unicode b)))

@gsteinLTU
Copy link
Member Author

@brollb Can you take a look at this? It's a little messy, but it seems like it's working alright.

@gsteinLTU
Copy link
Member Author

Also, a thought, it doesn't need to be merged, these changes might make much more sense as an extension if we have no intent to reimplement native blocks this way. The use case of feeding the code into an LLM would likely be done through an extension anyways.

@gsteinLTU
Copy link
Member Author

There is now a "Blocks to Code to Blocks" extension which includes some of this functionality (including the ability to output a full project as Lisp-y code).

@gsteinLTU gsteinLTU closed this Mar 14, 2024
@gsteinLTU
Copy link
Member Author

Closed, if the native functionality is ported, it will be part of a larger update, for now the extension is a better way to implement it.

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.

Fix "split by blocks", add block to text and text to blocks
1 participant