Benutzer-Werkzeuge

Webseiten-Werkzeuge


pfw:programming_pearls

Programming Pearls

In this section we would like to collect and discuss examples that show idiomatic (Forth) programming style.

  • Day of the week: work with string sequences, map from number to string
  • Print Hex: print hex numbers with variable number of digits, w/o <# # #>
  • Conditional Compilation: process part of the program text depending on conditions and variants, ICE concept
  • Population Count: counting the number of set bits in a byte or word
  • 2LOG: The 2LOG routine converts a linear input into something with a more logarithmic character.
pfw/programming_pearls.txt · Zuletzt geändert: 2022-11-07 14:18 von uho