Closed trink closed 8 years ago
i.e. basically a tostring() without a round trip to the sandbox
What would one expect from the output of window? Values + sax (if available) \ values + parameters \ plain sax or nil if not available (this currently corresponds to actual __tostring)?
Yeah, same output as the word
The current window output is binary dump of a struct and the word output appears to be a Lua table. I would prefer just the SAX string e.g.
ABBAC
.However, it would be nice to account for the cardinality so I am open to other suggestion. The iSAX binary representation isn't unambiguous since we aren't restricted to powers of 2. The exponentiation representation wasn't bad but overkill on every symbol, maybe just tack it onto the end
ABBAC^4
?