axr / core

The AXR core library
axrproject.org
GNU General Public License v3.0
93 stars 15 forks source link

Tokenizer must preserve (not skip) whitespace #218

Open jakepetroules opened 11 years ago

jakepetroules commented 11 years ago

We need to keep track of whitespace tokens in the parse tree or this causes a huge problem for tools as they are not able to preserve user formatting such as preference for line breaks, etc.

In short, input <> parse tree conversion should be physically (not just logically) lossless.