00:00:00 --- log: started forth/09.02.20 00:06:42 --- join: workthrick (n=mathrick@0x55529153.adsl.cybercity.dk) joined #forth 00:25:05 --- quit: JasonWoof ("Leaving.") 00:30:56 --- quit: Deformati (Remote closed the connection) 00:31:11 --- join: Deformati (n=joe@71.238.45.45) joined #forth 00:45:50 --- join: H4ns1 (n=hans@p57A0F602.dip.t-dialin.net) joined #forth 00:46:36 --- quit: H4ns (Nick collision from services.) 00:46:38 --- nick: H4ns1 -> H4ns 01:49:09 --- join: mr_uggla_ (i=mzsillan@melkinpaasi.cs.helsinki.fi) joined #forth 01:50:51 --- quit: mr_uggla (Read error: 104 (Connection reset by peer)) 03:02:44 --- join: qFox (i=C00K13S@132pc222.sshunet.nl) joined #forth 04:13:07 --- join: madmacs (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 05:07:02 --- quit: ASau (Read error: 110 (Connection timed out)) 05:28:56 --- quit: ASau` ("OFF") 06:15:03 --- quit: madmacs () 06:24:32 --- quit: workthrick (Read error: 110 (Connection timed out)) 06:30:29 --- join: ASau (n=user@193.138.70.52) joined #forth 06:55:55 --- quit: ASau (Remote closed the connection) 06:56:19 --- join: ASau (n=user@193.138.70.52) joined #forth 07:27:16 Anyone heard of Frugal Forth? http://www.hcsw.org/frugal/ 07:31:31 omg doug hoyte 07:31:42 --- quit: nighty^ ("Disappears in a puff of smoke") 07:32:45 H4ns: What about him? 07:33:29 kspaans: he has written a book about lisp that has not been very well received in the common lisp "community". :) 07:33:39 H4ns: Oh, cool! 07:33:41 * kspaans googles 07:33:52 (I'm more of a Schemer, but LISP is cool.) 07:34:02 it is called "let over lambda", and i found it terrible, too 07:35:08 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 07:35:51 What's terrible about it? 07:36:48 Just out of curiosity. :) 07:37:13 hold on, phone 07:37:28 No rush. 07:46:03 --- join: schme (n=schme@c83-249-80-232.bredband.comhem.se) joined #forth 07:59:19 --- join: X-Scale (i=email@2001:470:1f08:b3d:0:0:0:2) joined #forth 08:03:32 ok, i dislike "let over lambda" because it fails to have an own idea. rather, it refers to "on lisp" again and again, which is really tiring. "on lisp" is a nice book and paul graham writes well, but it is just a book and many of the ideas in it fail to be universally acceptable or accepted. 08:04:29 somehow, "let over lambda" seems to be a book that has been written by someone who just wanted to write a book :) 08:14:57 how many decimal digits are there in a 64 bit number? 08:15:33 i.e. 0xfffffffffffffffff in unsigned decimal... how many digits would that be? 08:27:31 I440r: Hmm... 08:34:39 I440r: About 19 digits? 2^64 seems to be ~1.8x10^19, so that means 19 digits, no? 08:43:35 ok phew 08:43:46 was worried there might be a bug in isforths number conversion routines 08:44:08 numbers are converted 1 at a time and stored in the scratch pad (80 bytes above 'here') 08:44:35 if the resultant number was more than 80 characters then the number conversion would start overwriting the most recently compiled code 08:44:35 Is "here" kind of like "this" in C++? 08:44:41 no 08:44:46 ok 08:45:06 as you compile things in forth the "code" is stored in "the dictionary" 08:45:12 Unhuh. 08:45:14 thers a dictionary pointer variable called dp 08:45:22 as you write code DP advances 08:45:37 the word here is defined as : here dp @ ; 08:45:47 so "here" is more like $ in an assembler 08:46:09 if you know assembler that is 08:46:32 here is the address to which the next bit of code you compile will be stored in 08:46:51 so you could do.... 08:46:53 here 08:47:02 1 c, 2 c, 3 c, \ make a table 08:47:12 constant my-table-address 08:47:22 tho thers better ways to do that - but its an example :) 08:47:51 the "here" is left on the stack. then you do 1 c, 2 c, 3 c, and each of those bytes is compiled into the "table" 08:48:01 What does @ do? Print the top of the stack? 08:48:20 then you say "constant blah" or whatever and the constant will be set to the address of the table 08:48:21 no 08:48:36 learn that word. dont see "at" dont thing "at" tho that was its original name 08:48:38 think FETCH 08:48:44 @ is fetch. ! is store 08:48:52 SEE and THINK those names when you see those characters 08:49:05 my-variable @ 08:49:07 OK, I think I get it. It fetches the address in the dp variable? 08:49:15 Or rather, address of? 08:49:23 my-variable leaves the address of the variable on the stack. @ fetches the contents of that address 08:49:29 yes 08:49:39 Ahh, like dereferencing a pointer in C. 08:49:40 so : here dp @ ; does this when you execute it 08:50:01 when you run "here" it first runs dp which is a variable. the variable leaves an address on the stack 08:50:08 @ fetches the contents of that variable :) 08:50:28 try not to think in terms of how C does it. thats damaging to your brain :) 08:51:34 --- quit: nighty^ (Remote closed the connection) 08:51:50 but yes. "here" fetches the contents of the variable DP which is a "pointer" within the dictionary 08:51:57 dp stands for "dictionary pointer" 08:55:45 --- join: [Forth] (n=Forth@ip70-162-227-36.ph.ph.cox.net) joined #forth 08:56:06 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 09:01:06 --- quit: nxt (Remote closed the connection) 10:10:59 --- join: madmacs (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 10:11:05 --- join: kar8nga (n=kar8nga@a-160.vc-graz.ac.at) joined #forth 10:13:01 --- quit: madmacs (Remote closed the connection) 10:20:16 --- quit: kar8nga (Read error: 60 (Operation timed out)) 10:23:06 --- join: kar8nga (n=kar8nga@e-23.vc-graz.ac.at) joined #forth 10:53:17 --- join: nxt (n=nxt@77.207.25.109) joined #forth 11:55:02 --- quit: uiu (Remote closed the connection) 12:54:27 --- join: JasonWoof (n=jasonwoo@c-66-31-44-71.hsd1.ma.comcast.net) joined #forth 12:54:27 --- mode: ChanServ set +o JasonWoof 13:10:13 --- join: snowrichard (n=snowrich@12.169.182.169) joined #forth 13:12:40 --- quit: snowrichard (Client Quit) 13:12:56 --- join: snowrichard (n=snowrich@12.169.182.169) joined #forth 13:22:41 hi 14:00:32 --- join: hagna (n=hagna@70.102.57.178) joined #forth 14:05:12 --- join: k2 (n=kar8nga@a-27.vc-graz.ac.at) joined #forth 14:06:07 --- quit: kar8nga (Nick collision from services.) 14:06:09 --- nick: k2 -> kar8nga 14:07:03 --- quit: snowrichard ("Leaving") 14:22:48 --- join: snowrichard (n=snowrich@12.169.182.169) joined #forth 14:36:47 hi 14:44:14 --- quit: snowrichard (Remote closed the connection) 15:03:51 snowrichard: Bye. 15:14:14 --- quit: qFox ("Time for cookies!") 15:31:45 woot time to port amforth to atmel168 16:10:07 --- quit: hagna ("leaving") 16:33:47 --- quit: kar8nga (Remote closed the connection) 16:50:16 --- quit: X-Scale (Connection timed out) 17:12:25 --- quit: JasonWoof ("Leaving.") 17:47:21 --- join: JasonWoof (n=jasonwoo@c-66-31-44-71.hsd1.ma.comcast.net) joined #forth 17:47:21 --- mode: ChanServ set +o JasonWoof 18:42:32 --- quit: JasonWoof ("Leaving.") 19:06:02 --- join: JasonWoof (n=jasonwoo@c-66-31-44-71.hsd1.ma.comcast.net) joined #forth 19:06:02 --- mode: ChanServ set +o JasonWoof 22:02:29 --- quit: Twey (Read error: 104 (Connection reset by peer)) 22:02:33 --- join: Twey (n=Twey@cpc3-brig15-2-0-cust781.3-3.cable.virginmedia.com) joined #forth 22:03:04 --- nick: Twey -> Guest50478 23:54:05 --- quit: JasonWoof ("Leaving.") 23:59:59 --- log: ended forth/09.02.20