PhD @UMichCSE • building https://xitter.cf/t.co/sEtPaejQKZ https://xitter.cf/t.co/GvG3Va4saO

Ann Arbor, MI
Joined November 2015
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
what if the outline view was a fully bidirectional alternate editor?
14
39
5
547
21,865
all will become fidgetable
64
109
34
1,982
398,190
SDF and liquid glass enthusiasts! I bring you some exciting original research I did into shape-preserving smooth blending while working on Liquid DOM. Read on to learn why it matters, why it's hard, and how I managed to solve it. All the code is open.
15
36
5
586
53,953
We’re doing a user study to find out how adding always-on live values alongside code effects writing and debugging experiences for functional programming. See reply for sign-up details
9
63
7
620
43,501
given that everyone is doing token-by-token and/or line-by-line partial completion acceptance now, i'm surprised i haven't seen any that just recapitulate selection mechanics (i.e. shift-left/right for token, shift-up/down for line). we have incremental acceptance at home!
3
4
32
2,189
Your participation will involve using the editor to perform editing tasks in an OCaml-like lang. We're esp interested in folks with prior experience using expression-oriented langs like OCaml, Haskell, Scala, etc. You'll receive a $25 Amazon gift card for 60 minutes of your time.
1
1
1
333
I am once more seeking participants for a user study. We'll be evaluating a prototype code editor that completes your text with placeholders for missing tokens expected by the language. Here are a couple vids motivating the editor+study. Details in thread. RTs appreciated! 🙏
1
9
15
1,937
for example, the structures shown in each selection here are determined simply by parsing the selected range of (molded) tokens, without inspecting any context beyond the immediate token neighbors
what's in a selection?
73
Replying to @jonathoda
thanks jonathan!
1
108
Impressive. Some fresh ideas for structure editing.
new tylr featuring inline obligations. press tab to jump to the next obligation, either a hole or a token-completion, or to accept the current completion.
1
2
11
1,139
what's in a selection?
3
1
6
622
new tylr feels so good. very clicky much structure
new tylr featuring inline obligations. press tab to jump to the next obligation, either a hole or a token-completion, or to accept the current completion.
2
8
787
new tylr feels amazing. what if structure editing were error correction with holes all along?
new tylr featuring inline obligations. press tab to jump to the next obligation, either a hole or a token-completion, or to accept the current completion.
1
9
704
the remaining problem is then how to assign these molds and this is the subject of my current wip paper
1
68
I'm working around that limitation by tagging tokens with their grammar contexts, what I'm calling molds. once molded, tokens can be OP parsed, and this helps especially with organizing the edit state into various regions of interest while maintaining structure.
1
1
50
...meaning you can maximally parse any segment of code knowing only its token bounds. the problem with OP parsing traditionally is that it has really limited grammar expressivity, you can't reuse the same token in different ways (eg - for negation and subtraction).
2
1
67
...to break things up into multiple passes, as opposed to having to do a lot of things at once in some required context. another thing here is I've been developing a new approach to parsing based on operator precedence parsing, which has the nice property of local parsability...
1
1
30
Replying to @krismicinski
yeah that has been a big challenge/focus of this work. one design pattern I've found useful is having a syntax tree that I can unzip into a bottom-up zipper, and that by construction accumulates paths to points of interest when rezipping. this makes it possible...
1
1
32