So what plain-text source encodings are is a serialization format.
Thank you! Well put! Actually, source code is just a human-readable serialization format. There's a lot to be done with that idea as well.
Thank you! Well put! Actually, source code is just a human-readable serialization format. There's a lot to be done with that idea as well.
EDIT: Another example -- someone could implement a language homomorphic with Python without significant whitespace and curly brackets.
Note I said AST + stream of lexical tokens. If you store the whitespace and comments as tokens, such information can be preserved, including formatting hints.