discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Recursion && Translation

MK
Marius Kintel
Fri, Dec 5, 2014 12:33 AM

Hi all,

We just put a new dev snapshot online.
Two significant features:

  1. Translation support: Translation as in multiple language support. Initially, we support German, with stubs for Czech, French and Russian. Contributions are welcome. Please ask here if you’re interested in contributing and we’ll work out how to best contribute.

  2. Better recursion support: We now limit recursion by available stack size instead of using an arbitrary depth. This should mean no more crashes and better support for light-weight deep recursion. Stack usage is improved, and we also now have tail recursion elimination which will convert tail recursions using the ?: operator into loops

Please give both a spin. Bugs are inevitable and if you find any, please report.
Thanks to Don for initiating the translation support and Torsten for spearheading the finalization as well as the tail recursion optimizations.

Cheers,

-Marius

Hi all, We just put a new dev snapshot online. Two significant features: 1) Translation support: Translation as in multiple language support. Initially, we support German, with stubs for Czech, French and Russian. Contributions are welcome. Please ask here if you’re interested in contributing and we’ll work out how to best contribute. 2) Better recursion support: We now limit recursion by available stack size instead of using an arbitrary depth. This should mean no more crashes and better support for light-weight deep recursion. Stack usage is improved, and we also now have tail recursion elimination which will convert tail recursions using the ?: operator into loops Please give both a spin. Bugs are inevitable and if you find any, please report. Thanks to Don for initiating the translation support and Torsten for spearheading the finalization as well as the tail recursion optimizations. Cheers, -Marius