Comment by shawn_w 2 months ago >Lua is the only lightweight language that I am aware of with TCO.Scheme is pretty lightweight. 14 comments shawn_w Reply bch 2 months ago Tcl too, fwiw[0].[0] https://wiki.tcl-lang.org/page/NRE shawn_w 2 months ago Tcl needs a special command for tail calls though, instead of it Just Working (tm). It's kind of awkward. fnord123 2 months ago Which scheme implementation? Guile? NuclearPM 2 months ago All of them. lgas 2 months ago To elaborate, the scheme spec requires tco. 2 replies → fnord123 1 month ago I meant which scheme implementation is "lightweight" and also meant to ask what "lightweight means". feb 1 month ago For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ? yencabulator 1 month ago For a purely functional language. Scheme is not that.https://www.gnu.org/software/guile/manual/html_node/while-do... 2 replies → fnord123 1 month ago I wasn't asking which scheme has TCO.I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.
bch 2 months ago Tcl too, fwiw[0].[0] https://wiki.tcl-lang.org/page/NRE shawn_w 2 months ago Tcl needs a special command for tail calls though, instead of it Just Working (tm). It's kind of awkward.
shawn_w 2 months ago Tcl needs a special command for tail calls though, instead of it Just Working (tm). It's kind of awkward.
fnord123 2 months ago Which scheme implementation? Guile? NuclearPM 2 months ago All of them. lgas 2 months ago To elaborate, the scheme spec requires tco. 2 replies → fnord123 1 month ago I meant which scheme implementation is "lightweight" and also meant to ask what "lightweight means". feb 1 month ago For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ? yencabulator 1 month ago For a purely functional language. Scheme is not that.https://www.gnu.org/software/guile/manual/html_node/while-do... 2 replies → fnord123 1 month ago I wasn't asking which scheme has TCO.I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.
NuclearPM 2 months ago All of them. lgas 2 months ago To elaborate, the scheme spec requires tco. 2 replies → fnord123 1 month ago I meant which scheme implementation is "lightweight" and also meant to ask what "lightweight means".
fnord123 1 month ago I meant which scheme implementation is "lightweight" and also meant to ask what "lightweight means".
feb 1 month ago For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ? yencabulator 1 month ago For a purely functional language. Scheme is not that.https://www.gnu.org/software/guile/manual/html_node/while-do... 2 replies → fnord123 1 month ago I wasn't asking which scheme has TCO.I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.
yencabulator 1 month ago For a purely functional language. Scheme is not that.https://www.gnu.org/software/guile/manual/html_node/while-do... 2 replies →
fnord123 1 month ago I wasn't asking which scheme has TCO.I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.
Tcl too, fwiw[0].
[0] https://wiki.tcl-lang.org/page/NRE
Tcl needs a special command for tail calls though, instead of it Just Working (tm). It's kind of awkward.
Which scheme implementation? Guile?
All of them.
To elaborate, the scheme spec requires tco.
2 replies →
I meant which scheme implementation is "lightweight" and also meant to ask what "lightweight means".
For a functionnal language, TCO is really a must have. How would you do the equivalent of loops without it ?
For a purely functional language. Scheme is not that.
https://www.gnu.org/software/guile/manual/html_node/while-do...
2 replies →
I wasn't asking which scheme has TCO.
I was asking which scheme if the 20-50 of them was "lightweight" and embeddable.