From: Enoch <ix...@ho...> - 2013-03-10 05:44:46
|
Hello Matthias & All: Matthias Trute <mt...@we...> writes: >> What is your opinion about endorsing >> a certain Forth style (my preference is the openfirmware style). > > A quick look at some source files does not reveal anything that > should be done differently. As long as you dont use the gforth > style.. (my impression from reading the gforth sources is that > they love programming like this: > > : (foo) bar ; > : foo (foo) baz ; > > ((foo) is never used (or even documented) elsewhere) > > I admire the work of the gforth people, but wrt code > readability I try to beat them. > > Would you mind to write a few sentences what you suggest for a recipe? > I found the description of the open firmware style (and confirmed that against their repo :-) in "Forth Programmer’s Handbook" by Forth Inc., section 8.2, pages 213-217. This is not their print edition but the PDF version included in <http://www.forth.com/swiftforth/dl.html>. Regards, Enoch. |