TheSwanFactory / hclang

Homoiconic C - a universal data format for computation
https://theswanfactory.wordpress.com/2016/12/20/homoiconic-c-a-universal-language-for-code-and-data/
MIT License
4 stars 0 forks source link

Bind using spaces #190

Closed drernie closed 1 year ago

drernie commented 1 year ago

Track number of spaces, and use that to infer grouping

Space plays an important role in binding, since we do not allow implicit precedence. Spaces create a new subexpression, so frames that have no space between them bind more tightly than those that do.

drernie commented 1 year ago

Related: allow 'naked' operators ("+" versus ".+")