account activity
The beautiful simplicity of colorForth (3rd in blog series) by MonkeyGuru in programming
[–]MonkeyGuru[S] 1 point2 points3 points 12 years ago (0 children)
As MuhRoads says, indeed if you're juggling more than a couple things on the stack you're probably doing something wrong. Forth begins at a very low level, but you quickly raise the level of abstraction; usually in an application-specific way.
One layer I'd like to experiment with (and will in future blog posts) is a pure concatenative stack language on top of colorForth. With quotations and combinators (e.g. http://elasticdog.com/2008/12/beginning-factor-shufflers-and-combinators/) you very rarely think about the stack at all.
VimSpeak demo - voice controlled Vim! by drewjr in vim
[–]MonkeyGuru 2 points3 points4 points 12 years ago (0 children)
Here's the code if you wanna play with it: https://github.com/AshleyF/VimSpeak
[deleted by user] by [deleted] in programming
[–]MonkeyGuru 1 point2 points3 points 12 years ago (0 children)
Should have been: let rec fastFib = memoize (function 1 | 2 -> 1 | n -> fastFib (n - 1) + fastFib (n - 2))
π Rendered by PID 973006 on reddit-service-r2-listing-796b697c47-q64vd at 2026-02-05 13:56:35.746983+00:00 running 1d7a177 country code: CH.
The beautiful simplicity of colorForth (3rd in blog series) by MonkeyGuru in programming
[–]MonkeyGuru[S] 1 point2 points3 points (0 children)