Files
littlefs/scripts
Christopher Haster 7ddef7a870 scripts: csv.py: Switched to semicolon (;) for by exprs
A slightly different syntax I found while exploring generic/template
syntax in other languages. Instead of multiple brackets/parens for
specialization, just deliminate by (or type) fields from regular fields
with a semicolon:

Before:

  -fx=enumerate()
  -fy=enumerate[a,b]()
  -fz=accumulate[a,b](z)

After:

  -fx=enumerate()
  -fy=enumerate(a,b;)
  -fz=accumulate(a,b;z)

The result is a flexible call syntax that avoids overloading operators
future exprs may want to use.

And if we ever want type specialization, we can always add more
semicolons:

  -fx=enumerate(int;;)
  -fy=enumerate(float;a,b;)
  -fz=accumulate(frac;a,b;z)
2026-03-09 22:56:56 -05:00
..
2025-04-16 15:23:06 -05:00