transit

emccue 2023-03-01T15:20:53.301389Z

Alex Miller (Clojure team) 2023-03-01T15:33:03.078829Z

what does "seems to interpret" mean

Alex Miller (Clojure team) 2023-03-01T15:33:16.175519Z

I assume you ran some code and got some result

Alex Miller (Clojure team) 2023-03-01T15:35:58.982309Z

the transit format spec says is the string tag and will be followed by a single char. # is special for a tag. ~ by itself is not a thing afaik

wevrem 2023-03-01T18:11:08.696349Z

How would transit ever see “”? If the string “” is being sent, it gets escaped to ““. Otherwise the handlers and emitters should be spitting out valid tags.

emccue 2023-03-01T18:59:53.840149Z

so i was doodling on this site

emccue 2023-03-01T19:00:26.493509Z

emccue 2023-03-01T19:00:37.733159Z

and just toying around with what would happen on "invalid" input

emccue 2023-03-01T19:01:24.208039Z

what I assume now is that invalid input is undefined behavior

wevrem 2023-03-01T21:48:06.930759Z

It’s interesting. I don’t think transit (in the Java implementation) has checks for empty string tags (it does check for tags of length 1), and unable to find a registered handler, it just default to wrapping it up in the generic TaggedValue.

Alex Miller (Clojure team) 2023-03-01T22:21:37.093249Z

why does it hurt when I put my hand on the stove? :)