dgkf / R

An experimental reimagining of R
https://dgkf.github.io/R
GNU General Public License v3.0
136 stars 5 forks source link

fix: lists parsed as call to primitive instead of Expr::List #154

Closed dgkf closed 3 months ago

dgkf commented 3 months ago

This might be a change we revert at some point if we ever want to return lazy list elements, but for now it has the intended behavior.

Like the vector syntax [1, 2, 3], we now have a list syntax primitive (1, 2, 3) which knows to evaluate similar to PrimitiveList.