You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to parse whole expressions from strings. simple infix sequences and parens seem to work, but nothing else.
If I try to do Edit.perform(Insert("let x "), Zipper.empty) I get "let >< x" (infix grout), and if I try Edit.perform(Insert("let x ="), Zipper.empty) it crashes with:
hmm that's unexpected. let's see if we can work around it for now. try calling Labeler.label on the string to get a list(Token.Unmolded.t), each of which will have a .text field to get the individual lexeme text to pass with the Insert action.
Trying to parse whole expressions from strings. simple infix sequences and parens seem to work, but nothing else.
If I try to do
Edit.perform(Insert("let x "), Zipper.empty)
I get "let >< x" (infix grout), and if I tryEdit.perform(Insert("let x ="), Zipper.empty)
it crashes with:not totally sure this is actually supported... should i be dividing into tokens and feed it in iteratively?
The text was updated successfully, but these errors were encountered: