[OpenSCAD] Extending OpenSCAD from assembler to C or Perlish language and adding standard library
nop.head at gmail.com
Tue Oct 1 03:00:48 EDT 2019
Doesn't the current C like for(..;..;) syntax effectively allow a while
loop and mutable variables in the loop?
On Tue, 1 Oct 2019 at 04:51, Doug Moen <doug at moens.org> wrote:
> 1. Mutable variables.
> [...] It's not something very high at my personal wish-list at
> this point [...]
> This is perhaps the most highly desired feature request I have. Though
> it's unclear to me how it would be handled in a function context, since
> `let()` only sets the value of a variable for the parts of a function
> subordinate to the `let()`. Also, mutable variables become much more
> useful with a `while()` conditional loop statement.
> It would be possible to borrow the syntax that Curv uses for mutable
> variables. It would fit in to OpenSCAD with only minor changes. You can use
> assignment statements and while statements inside a function, or inside a
> list comprehension.
> OpenSCAD mailing list
> Discuss at lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss