PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Merges Whitespace

Merges Whitespace

Merges Whitespace is a feature.

Some languages merge repeated whitespace characters into 1 token as one of the first steps in lexing. Others treat whitespace as semantically meaningful and don't change it, but instead lex and parse it into individual structures. If the language supports features like block comments, it might preserve whitespace perfectly inside delimiters while shrinking other whitespace.


Languages with Merges Whitespace include JavaScript, C++, HOPE

magic-getters-and-setters-feature.html 路 merges-whitespace-feature.html 路 range-operator-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 33 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com