00:00:00 --- log: started forth/07.07.28 02:59:26 --- log: started forth/07.07.28 02:59:26 --- join: clog (n=nef@bespin.org) joined #forth 02:59:26 --- topic: 'Welcome to #forth. We discuss the Forth programming language and a variety of technical subjects. Introduction and Helpful Reading: http://forthfreak.net/index.cgi?FnFC | ANS/ISO Forth Standard doc: http://tinyurl.com/nx7dx | Gforth compiler: http://tinyurl.com/s8uho | http://quartus.net/search | Paste: http://forth.pastebin.ca | http://angg.twu.net/miniforth-article.html <- due soon. Suggestions? 8-|' 02:59:26 --- topic: set by edrx on [Thu Jul 12 17:04:11 2007] 02:59:26 --- names: list (clog Al2O3 @slava probonono timlarson__ nighty^ pierpa crest_ Snoopy42 gnomon mrsbrisby ccfg madwork @I440r TreyB cmeme segher tris mem4tim tlockney kc5tja @crc warpzero maht madgarden uiuiuiu) 03:18:10 --- join: Shine (n=Frank_Bu@static-87-79-64-220.netcologne.de) joined #forth 04:06:38 --- join: ygrek (i=user@gateway/tor/x-d84d1dedb3a4d6a5) joined #forth 05:48:59 --- join: Baughn (n=svein@2002:54ca:ec08:0:0:0:0:1) joined #forth 06:11:27 --- quit: nighty^ ("Disappears in a puff of smoke") 06:40:55 --- join: jns (n=jens@p57B07424.dip.t-dialin.net) joined #forth 07:21:00 --- quit: Baughn (Remote closed the connection) 07:47:25 --- join: paf (n=paf@bas4-montreal28-1177918249.dsl.bell.ca) joined #forth 07:49:47 --- join: Baughn (n=svein@2002:54ca:ec08:0:0:0:0:1) joined #forth 08:20:05 --- quit: jns (No route to host) 08:29:41 --- join: jns (n=jens@p57B07424.dip.t-dialin.net) joined #forth 08:36:20 --- quit: pierpa (Read error: 113 (No route to host)) 09:06:20 --- quit: jns (No route to host) 09:18:12 --- nick: timlarson__ -> timlarson 09:28:51 --- join: nighty__ (n=nighty@sushi.rural-networks.com) joined #forth 09:29:07 --- quit: nighty__ (Read error: 104 (Connection reset by peer)) 09:29:16 --- join: nighty^ (n=nighty@sushi.rural-networks.com) joined #forth 09:29:50 hi 09:31:00 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 09:31:00 --- mode: ChanServ set +o tathi 09:40:02 --- quit: tathi ("leaving") 09:52:03 --- join: jns (n=jens@p57B07424.dip.t-dialin.net) joined #forth 11:24:46 --- join: Quartus__ (n=Quartus_@205.205.50.1) joined #forth 12:04:58 --- join: snowrichard (n=richard@65.125.86.66) joined #forth 12:05:28 hi 12:08:30 --- join: Quartus (n=neal@CPE0001023f6e4f-CM001947482b20.cpe.net.cable.rogers.com) joined #forth 12:08:30 --- mode: ChanServ set +o Quartus 12:08:43 Hi. 12:19:37 how have you been Quartus 12:19:47 Hanging in. You? 12:19:50 weather is lousy here, rain every day 12:20:04 yuck! 12:24:02 I've got a Jornada 547 I think. the builtin apps are ok, but I was wondering if you'd heard of any software development kits for that were reasonably priced 12:25:29 its Pocket PC 2002 I think 12:26:48 I've got a wireless card and a serial cable/modem 12:27:57 rather a serial cable and a modem 12:29:02 --- part: snowrichard left #forth 12:30:00 --- quit: Al2O3 () 12:32:48 --- join: Al2O3 (n=Al2O3@pool-71-164-163-19.dllstx.fios.verizon.net) joined #forth 12:45:45 --- quit: Quartus (Read error: 110 (Connection timed out)) 12:49:36 --- join: forther (n=forther@c-67-180-150-67.hsd1.ca.comcast.net) joined #forth 12:51:29 --- quit: forther (Client Quit) 12:51:44 --- join: forther (n=forther@c-67-180-150-67.hsd1.ca.comcast.net) joined #forth 13:07:14 --- quit: ygrek ("Leaving") 13:24:31 --- quit: Shine ("ChatZilla 0.9.78.1 [Firefox 2.0.0.5/2007071317]") 13:30:03 --- join: Quartus (n=neal@CPE0001023f6e4f-CM001947482b20.cpe.net.cable.rogers.com) joined #forth 13:30:03 --- mode: ChanServ set +o Quartus 13:41:45 --- join: tathi (n=josh@pdpc/supporter/bronze/tathi) joined #forth 13:41:45 --- mode: ChanServ set +o tathi 13:42:53 --- join: snoopy_1711 (i=snoopy_1@dslb-084-058-154-221.pools.arcor-ip.net) joined #forth 13:43:12 --- join: H4ns (n=hans@berlin.ccc.de) joined #forth 13:44:28 hi. i have maisforth (which is supposed to be ans forth) running on a 6809 based system, and "hex b0b0 ." gives me an error message. is it me, or is maisforth in trouble? 13:44:53 Well, in what context are you using that phrase? Inside a definitino? 13:44:58 er, definition 13:45:02 no, just at the prompt. 13:45:16 I don't know maisforth, but possibly wants hex in uppercase? 13:45:18 i'm trying to enter a hex address of a device that i want to play around with. 13:45:28 great! thanks! :) 13:45:39 :) 13:48:36 woha. cool. this fpga based 6809 now speaks forth *drool* 13:48:42 thanks, quartus! 13:48:44 heh 13:48:50 Glad I could help. 13:51:13 --- quit: Snoopy42 (Read error: 145 (Connection timed out)) 13:51:36 --- nick: snoopy_1711 -> Snoopy42 13:53:32 H4ns: How is the FPGA-based 6809 compare to the Motorola 6809 in terms of instruction timings? Is it the same, or were improvements made? 13:54:15 s/is/does/ 13:54:34 kc5tja: i'm not sure about the timing, but the clock speed is higher (12.5 mhz) than any of the real 6809s that existed. 13:55:02 Ahh. 13:55:05 kc5tja: if you really want to know, ask john kent. i'm just a user. 13:55:30 I'm assuming John Kent is the author of the VHDL/Verilog for it? 13:56:26 right. google for 'john kent system09' 14:03:41 --- quit: jns (Read error: 113 (No route to host)) 14:16:35 --- join: jns (n=jens@p57B07424.dip.t-dialin.net) joined #forth 14:26:48 hi kc5tja 14:27:15 Hi slava 14:27:21 --- quit: forther (Read error: 110 (Connection timed out)) 14:27:49 --- join: forther (n=forther@c-67-180-150-67.hsd1.ca.comcast.net) joined #forth 14:36:43 Quartus__: i'm still waiting for doty to come up with some code from that thread where he declared ans forth control structures as 'algol-style' and useless 14:36:58 the boolean matrix multiplication, remember? 14:37:10 hopefully you're not holding your breath! 14:37:40 i am, and i've done irreparable damage to my brain, thanks to doty 14:38:20 heh 14:38:31 :) 14:38:57 Quartus__: i'm looking forward to LSE128 14:39:38 I'm waiting for LSE256.. 14:50:25 --- quit: forther ("Leaving") 15:02:10 --- join: crest__ (n=crest@p5489C38A.dip.t-dialin.net) joined #forth 15:18:32 --- quit: crest_ (Read error: 110 (Connection timed out)) 15:21:13 --- quit: jns (Read error: 113 (No route to host)) 15:31:42 Yikes. Doty's control structures are rather scary. 15:38:05 They are algol-style, but they're far from useless. 15:38:33 because they're defined using the language itself, they're definitely not algol-style. 15:38:44 Bullshit. 15:38:48 in algol, control structures are 'keywords' and are strictly the domain of the language implementor. 15:39:03 That is an orthogonal issue. 15:39:31 What makes them Algol-style is their source of inspiration. 15:39:45 Forth borrows concepts from BASIC, Fortran, and Algol, pretty much equally. 15:39:54 basic? 15:39:56 The fact that you can implement them in terms of the language itself is immaterial. 15:39:59 FOR/NEXT 15:40:05 heh 15:49:45 'algol-style' is apparently meant as some kind of pejorative. The commonly-encountered Forth control-flow structures are the same as found in many procedural languages. 15:50:48 Considering the source, that the criticism is vague, obtuse, and wrong is hardly surprising. 15:53:13 slava: http://groups.google.com/group/comp.lang.forth/msg/9222165b4a56990d 15:55:26 p :variable 15:55:26 q :variable 15:55:26 (v-v-dot) : p @@+ q @@+ *. +. 15:55:27 v-v-dot : p ! q ! 0.0 swap (v-v-dot) iterate 15:55:32 how would you write this in ANS? 16:10:06 I'd have to back-translate it to figure out what the intent is. 16:29:47 v-v-dot ( #elements addr1 addr2 -- dot-product ) 16:30:11 and the dot-product is a single value? 16:30:44 yeah 16:30:46 yup 16:30:53 addr1 and addr2 point to arrays of floating-point numbers 16:30:57 ah 16:31:01 #elements tells how long they both are 16:35:20 : v-v-dot ( #elements addr1 addr2 -- ) ( F: -- dot-product ) 0e rot 0 do 2dup i floats + f@ i floats + f@ f* f+ loop ; 16:35:46 That assumes a separate float stack. I'd make the word ( addr1 addr2 #elements ) given a choice. 16:35:52 yeah. 16:38:12 hrm. 16:38:24 without a separate float stack it looks pretty sticky to me. 16:38:36 Not a practical concern. 16:38:44 0 [ * + ] 2reduce 16:38:47 but I admit I haven't done any floating-point math code in a forth without a separate stack 16:38:52 no need for a separate float stack :) 16:40:40 well, slava, no need to remind you that factor isn't forth :) 16:41:51 naming concerns aside; 16:41:53 : f@++ ( f-addr -- f-addr' ) dup f@ 1 floats + ; 16:41:53 : 2f@++ ( f-addr1 f-addr2 -- f-addr1' f-addr2' ) ( F: -- r1 r2 ) f@++ swap f@++ swap ; 16:41:53 : v-v-dot ( f-addr1 f-addr2 #elements -- ) ( F: -- dot-product ) 0e 0 do 2f@++ f* f+ loop 2drop ; 16:42:34 of course 1 floats + can be float+ 16:43:25 In this case 2f@++ does more work than it needs to, as the final swap would not affect the result, but it's more general-purpose this way 16:43:32 Not too chuffed with the ++ names though 17:26:06 --- quit: Al2O3 () 17:28:27 --- join: Al2O3 (n=Al2O3@pool-71-164-163-19.dllstx.fios.verizon.net) joined #forth 17:52:48 not happy with v-v-dot either 17:53:14 and I'd probably use ?do instead of do 17:53:25 -- it's the name 'v-v-dot' I dont' like 17:53:54 ya 18:19:31 --- quit: tathi ("leaving") 18:23:01 Doesn't the ANS standard permit a unified data and float stack? 18:37:57 yes 18:45:52 it does, though the defacto standard is a separate stack 20:10:16 --- join: jtm (n=freesbie@host81-136-6-136.in-addr.btopenworld.com) joined #forth 20:17:14 --- part: jtm left #forth 20:41:37 --- quit: nighty^ (Remote closed the connection) 22:49:59 --- quit: Al2O3 ("Eggplant & SenseTalk: Driving Success Through Automation") 23:59:59 --- log: ended forth/07.07.28