tyson icon indicating copy to clipboard operation
tyson copied to clipboard

First read - random thoughts

Open pinage404 opened this issue 2 years ago • 0 comments

Hi,

I have just discovered this project

First of all, it's interesting


The first question that came to my mind was : what features are not supported but are supported by TypeScript ? Then i see that another issue is already open https://github.com/jetpack-io/tyson/issues/3


I think JSONC (JSON with Comments) should be listed in the related work section


AFAIU, Tyson will be typed, which will transpile into JSON which is not typed, which will be parsed by a program which will be probably be typed

I think this is not optimal to lose the type in the stream


How will you synchronise the program's type with Tyson's type ?


I feel comfortable with jsonc + JSON Schema or Yaml + schema

Note of humour https://xkcd.com/927/

pinage404 avatar Sep 11 '23 22:09 pinage404