Posted
almost 6 years
ago
by
Beestje
Tell me about it! I've been abandoning Forth for close to 10 years! Until I thought Ï think I can do better.." > I have always enjoyed Forth's concision, economy, and RPN exoticism, > but > having done most of my earlier hobby programming in Perl or Bourne > shell, > Forth's even-less-than-C
|
Posted
almost 6 years
ago
by
David Meyer
On Wednesday, July 3, 2019 at 5:09:12 AM UTC+9, The Beez wrote: > > That's some pretty clean code, I must say! How long have you been > developing for Forth? > Thank you! I am pleased that the code came out so short, straightforward and understandable (hopefully to others besides myself), and
|
Posted
almost 6 years
ago
by
The Beez
Hi David! That's some pretty clean code, I must say! How long have you been developing for Forth? BTW, there was some pretty hefty comment when I implemented some heavy support for "lookup tables" in the Forth community. "We don't need no stinking tables". It was Wil Baden who saw the benefit
|
Posted
almost 6 years
ago
by
David Meyer
I've been using Roman numerals as a step beyond hello programs in learning programming languages. 4tH comes with a sample program by Leo Brodie, but I've come up with the following program that uses 4tH's ," string compiler word to make a nice little routine. I think it's a demonstration of how
|
Posted
almost 6 years
ago
by
Beestje
Hi Ron, I've never seen a Linux that didn't compile 4tH, so yes, in that way it will be supported. If someone makes a binary, I'm willing to distribute it. Hans Bezemer
|
Posted
almost 6 years
ago
by
Beestje
Hi David! This is a GREAT tip! I've always got problems to install cross-compilers for all these environments (they're called "cross" compiler for a reason, because that's what they make people) and then still I got to have some kind of (emulated) environment to test the bunch. So each time I
|
Posted
almost 6 years
ago
by
David Meyer
I just checked that I can also build 4tH from 4th-3.62.5-unix.tar.gz on my Android 7.0 smartphone. 1. Install and run the terminal emulator app Termux. 2. Install the Termux packages lynx (or something else for downloading the source tar ball), clang, and make. 3. Customize variables LIBRARIES,
|
Posted
almost 6 years
ago
by
The Beez
Hi 4tHers! The whole shebang (including example programs) is committed to SVN. With a little trouble you might get it to run on v3.62.5, Hans Bezemer
|
Posted
almost 6 years
ago
by
rjeffries
Android 5 is pretty old. Any chance we might look forward to 4Th running on current (MUCH improved) Android? Semi-unrelated: the new Raspberry Pi 4 is a really impressive machine, only $55 for a 4 GB ram with a great complement of i/o ports. Raspian is well supported LInux based in Debian. Will
|
Posted
almost 6 years
ago
by
David Meyer
I have not done any Android app development, but it seems like a constantly moving target. Would the executables I built be useful to anyone else? Feel free to contact me if you want someone to test the new release on Android.
|