KittyCAD / modeling-app

The KittyCAD modeling app.
https://kittycad.io/modeling-app/download
MIT License
366 stars 29 forks source link

KCL: Support dynamic ranges #4021

Open jessfraz opened 2 days ago

jessfraz commented 2 days ago

this does not parse but it should

const end = 10
const myRange = [0..end]

found by @JordanNoone

adamchalmers commented 2 days ago

Context: https://github.com/KittyCAD/modeling-app/issues/3842#issuecomment-2350075210

I've assigned myself so I don't forget, but anyone can feel free to take this.

jessfraz commented 2 days ago

ah this is a bit harder than I thought I will leave to @adamchalmers

jessfraz commented 2 days ago

I did attempt but i didn't realize ast needed fixing too