Benutzer-Werkzeuge

Webseiten-Werkzeuge


Error loading plugin include
ParseError: syntax error, unexpected 'include' (T_INCLUDE), expecting identifier (T_STRING) or '{'
More info is available in the error log.
pfw_attic:programming_pearls

**Dies ist eine alte Version des Dokuments!**

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_attic/programming_pearls.1675709386.txt.gz · Zuletzt geändert: von uho