laurent.orseau
2019-9-15 08:49:55

@alexknauth Actually, scripting on mobile is much easier with a concise syntax, and for this indentation-based blocks are quite helpful. So if you can make such a language, I’d be happy to have a sane racket core underneath instead of python :)


alexknauth
2019-9-15 17:23:48

(Re: normal s-exp at the same time) Almost, but technically no. “Almost” in the sense that most sanely indented s-exps will be valid. “No” in the sense that some existing s-exps will be invalid because indentation will imply extra parentheses. For example place-image has x and y args that usually go together on the same line because programmers think of x and y as “logically grouped.” That idiom would break because my parser would add an actual grouping of parens. If the arguments are not on the same line as the function, they will need to be on separate lines from each other, and there are functions like place-image and overlay/offset that break that “rule” because x and y


laurent.orseau
2019-9-15 18:54:17

I see, that sounds good


casmajavi
2019-9-15 19:15:23

@casmajavi has joined the channel