breck7 / scrollsdk

The code for Particles and Parsers, which Scroll is built on.
https://sdk.scroll.pub
383 stars 17 forks source link

Should we use Tab as XI/ZI? #32

Closed breck7 closed 5 years ago

breck7 commented 5 years ago

I don't think we should, but it does potentially make Tree programs play nicer with spreadsheets. We should document why this is a good or bad idea.

breck7 commented 5 years ago

Reasons for tabs: 1) plays nicely with copy/paste to/from spreadsheets (though it can be argued that this is just due to current implementations and future spreadsheets could work just as nicely with spaces) 2) in a spreadsheet you could put a whole sentence in a cell, but again, perhaps with a grammar a catchAllCell type supporting editor could enable some behavior like this.

Reasons against:

1) it's obvious which one is more natural " " or "\t". 2) space bar is biggest key on keyboard 3) its worked great so far