00:00:00 --- log: started forth/09.11.27 00:01:29 is there a limit to amount of recursions? 00:02:04 can't seem to get anything to a greater power than 4 00:04:10 is there a forth debugger? 00:07:05 http://paste.ideaslabs.com/show/lKjOj07Ct5 00:17:04 --- join: nighty_ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 00:17:04 --- join: I440r (n=me@c-69-136-171-118.hsd1.in.comcast.net) joined #forth 00:17:04 --- join: segher (n=segher@84-105-60-153.cable.quicknet.nl) joined #forth 00:17:04 --- join: tarbo (n=me@unaffiliated/tarbo) joined #forth 00:17:04 --- join: maht (n=maht__@85-189-31-174.proweb.managedbroadband.co.uk) joined #forth 00:18:24 --- quit: tarbo (SendQ exceeded) 00:19:43 --- join: tarbo (n=me@unaffiliated/tarbo) joined #forth 00:31:08 --- quit: nighty__ (Client Quit) 01:31:19 --- join: GeDaMo (n=gedamo@212.225.98.255) joined #forth 01:42:31 elspru_: of course there is limit for number of calls 01:42:46 elspru_: you have limited amount of stack memory. 02:07:55 --- quit: maht (farmer.freenode.net irc.freenode.net) 02:07:55 --- quit: I440r (farmer.freenode.net irc.freenode.net) 02:07:55 --- quit: nighty_ (farmer.freenode.net irc.freenode.net) 02:07:57 --- quit: segher (farmer.freenode.net irc.freenode.net) 02:09:32 --- join: nighty_ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 02:09:32 --- join: I440r (n=me@c-69-136-171-118.hsd1.in.comcast.net) joined #forth 02:09:32 --- join: segher (n=segher@84-105-60-153.cable.quicknet.nl) joined #forth 02:09:32 --- join: maht (n=maht__@85-189-31-174.proweb.managedbroadband.co.uk) joined #forth 04:22:41 --- join: kar8nga (n=kar8nga@jol13-1-82-66-176-74.fbx.proxad.net) joined #forth 04:29:36 --- join: tathi (n=josh@dsl-216-227-91-166.fairpoint.net) joined #forth 04:34:03 elspru_: your paste works here (under gforth, anyway). Of course, it computes base^(2^power), not base^power, but... :) 04:39:20 --- quit: GeDaMo ("Leaving.") 04:59:18 --- quit: ygrek_ (Remote closed the connection) 05:12:29 elspru_: studied scheme before? 05:12:42 elspru_: because the code doesn't look forthish. 05:13:35 elspru_: there's no need to check for special case, and definitly no need to use recursion. 05:14:49 elspru_: : power ( base exp -- power ) 1 swap 0 ?do over * loop ; 05:15:12 : power ( base exp -- power ) 1 swap 0 ?do over * loop nip ; 05:15:16 ( Grr. ) 05:17:10 --- join: PoppaVic (n=pops@99.150.133.146) joined #forth 05:24:58 --- quit: Al2O3 (Read error: 110 (Connection timed out)) 05:51:36 --- quit: ASau ("off") 06:01:19 * madgarden is back (gone 07:53:20) 06:03:38 --- quit: tathi ("leaving") 06:12:01 --- quit: maht (farmer.freenode.net irc.freenode.net) 06:12:01 --- quit: I440r (farmer.freenode.net irc.freenode.net) 06:12:01 --- quit: nighty_ (farmer.freenode.net irc.freenode.net) 06:12:01 --- quit: segher (farmer.freenode.net irc.freenode.net) 06:16:44 --- join: nighty_ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 06:16:50 --- join: I440r (n=me@c-69-136-171-118.hsd1.in.comcast.net) joined #forth 06:16:54 --- join: maht (n=maht__@85.189.31.174) joined #forth 06:17:32 --- join: segher (n=segher@84.105.60.153) joined #forth 07:28:05 --- quit: cataska (farmer.freenode.net irc.freenode.net) 07:28:06 --- quit: zbrown (farmer.freenode.net irc.freenode.net) 07:28:06 --- quit: kar8nga (farmer.freenode.net irc.freenode.net) 07:28:07 --- quit: Snoopy_1611 (farmer.freenode.net irc.freenode.net) 07:28:07 --- quit: segher (farmer.freenode.net irc.freenode.net) 07:28:07 --- quit: PoppaVic (farmer.freenode.net irc.freenode.net) 07:28:08 --- quit: elspru_ (farmer.freenode.net irc.freenode.net) 07:28:08 --- quit: uiu__ (farmer.freenode.net irc.freenode.net) 07:28:08 --- quit: foxLaptop (farmer.freenode.net irc.freenode.net) 07:28:09 --- quit: foxes (farmer.freenode.net irc.freenode.net) 07:28:09 --- quit: crc (farmer.freenode.net irc.freenode.net) 07:28:10 --- quit: probonono (farmer.freenode.net irc.freenode.net) 07:28:11 --- quit: maht (farmer.freenode.net irc.freenode.net) 07:28:11 --- quit: I440r (farmer.freenode.net irc.freenode.net) 07:28:11 --- quit: nighty_ (farmer.freenode.net irc.freenode.net) 07:28:12 --- quit: qFox (farmer.freenode.net irc.freenode.net) 07:28:12 --- quit: proteusguy (farmer.freenode.net irc.freenode.net) 07:28:18 --- quit: ment (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: DrunkTomato (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: nighty^ (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: madwork (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: uiu (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: saper (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: nottwo (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: KipIngram (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: aguaithegeek (farmer.freenode.net irc.freenode.net) 07:28:23 --- quit: aguai (farmer.freenode.net irc.freenode.net) 07:28:24 --- quit: madgarden (farmer.freenode.net irc.freenode.net) 07:28:24 --- quit: tarbo (SendQ exceeded) 07:28:34 --- join: madgarden (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 07:28:48 --- join: cataska (n=cataska@210.64.6.233) joined #forth 07:29:00 --- quit: cataska (farmer.freenode.net irc.freenode.net) 07:29:03 --- join: ment (i=thement@ibawizard.net) joined #forth 07:29:12 --- quit: madgarden (farmer.freenode.net irc.freenode.net) 07:30:00 --- join: crc (n=charlesc@68.80.139.0) joined #forth 07:30:00 --- join: segher (n=segher@84.105.60.153) joined #forth 07:30:00 --- join: maht (n=maht__@85.189.31.174) joined #forth 07:30:00 --- join: I440r (n=me@c-69-136-171-118.hsd1.in.comcast.net) joined #forth 07:30:00 --- join: nighty_ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 07:30:00 --- join: PoppaVic (n=pops@99.150.133.146) joined #forth 07:30:00 --- join: kar8nga (n=kar8nga@jol13-1-82-66-176-74.fbx.proxad.net) joined #forth 07:30:00 --- join: qFox (n=C00K13S@5356B263.cable.casema.nl) joined #forth 07:30:00 --- join: proteusguy (n=proteusg@zeppelin.proteus-tech.com) joined #forth 07:30:00 --- join: probonono (n=User@unaffiliated/probonono) joined #forth 07:30:00 --- join: elspru_ (n=elspru@69.165.134.225) joined #forth 07:30:00 --- join: Snoopy_1611 (i=Snoopy_1@dslb-088-068-205-164.pools.arcor-ip.net) joined #forth 07:30:00 --- join: uiu__ (n=ian@81.169.184.117) joined #forth 07:30:00 --- join: foxLaptop (i=flash@222.131.163.19) joined #forth 07:30:00 --- join: zbrown (n=suifur@unaffiliated/zbrown) joined #forth 07:30:00 --- join: foxes (i=flash@222.131.163.19) joined #forth 07:30:00 --- mode: irc.freenode.net set +o crc 07:30:14 --- join: nottwo (n=trannie@designvox-gw.iserv.net) joined #forth 07:30:20 --- join: DrunkTomato (n=DEDULO@217.18.135.36) joined #forth 07:30:21 --- join: madwork (n=madgarde@204.138.110.15) joined #forth 07:30:21 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 07:30:21 --- join: cataska (n=cataska@210.64.6.233) joined #forth 07:30:22 --- join: KipIngram (n=kip@173-11-138-177-houston.txt.hfc.comcastbusiness.net) joined #forth 07:30:28 --- join: madgarden_ (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 07:33:26 --- join: aguaithegeek (n=aguai@98.142.211.123) joined #forth 07:33:27 --- join: aguai (i=aguai@114-32-77-124.HINET-IP.hinet.net) joined #forth 07:33:27 --- join: uiu (n=ian@HSI-KBW-078-042-132-111.hsi3.kabel-badenwuerttemberg.de) joined #forth 07:33:36 --- join: GeDaMo (n=gedamo@212.225.98.255) joined #forth 07:45:56 Morning all. 07:46:08 lo 07:46:56 --- join: Al2O3 (n=Al2O3@c-75-70-11-191.hsd1.co.comcast.net) joined #forth 07:50:40 --- join: gogonkt_ (n=info@218.13.51.200) joined #forth 08:04:00 --- join: dinya (i=Denis@94.180.35.233) joined #forth 08:08:01 --- quit: gogonkt (Read error: 110 (Connection timed out)) 08:20:14 --- join: ygrek_ (i=user@gateway/gpg-tor/key-0x708D5A0C) joined #forth 08:34:18 --- quit: kar8nga (Remote closed the connection) 08:35:44 --- quit: PoppaVic (Client Quit) 08:40:00 --- join: kar8nga (n=kar8nga@jol13-1-82-66-176-74.fbx.proxad.net) joined #forth 09:06:00 --- join: Snoopy_1711 (i=Snoopy_1@dslb-088-068-194-055.pools.arcor-ip.net) joined #forth 09:23:43 --- quit: Snoopy_1611 (Read error: 110 (Connection timed out)) 10:07:40 --- quit: kar8nga (Remote closed the connection) 10:15:55 --- quit: madgarden_ (Read error: 110 (Connection timed out)) 10:18:21 --- join: Quartus` (n=Quartus`@74.198.8.60) joined #forth 10:33:18 --- quit: dinya (Read error: 104 (Connection reset by peer)) 10:59:17 --- join: Judofyr (n=Judofyr@cC694BF51.dhcp.bluecom.no) joined #forth 11:10:59 --- join: saper (i=saper@wikipedia/saper) joined #forth 12:25:07 --- join: kar8nga (n=kar8nga@jol13-1-82-66-176-74.fbx.proxad.net) joined #forth 12:33:26 --- quit: DrunkTomato () 12:44:52 --- join: gnomon_ (n=gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 12:59:12 --- quit: gnomon (Read error: 110 (Connection timed out)) 13:25:25 --- quit: elspru_ ("Lost terminal") 13:25:52 --- quit: Al2O3 (Read error: 110 (Connection timed out)) 13:26:18 --- join: Zarutian (n=zarutian@194-144-84-110.du.xdsl.is) joined #forth 13:37:45 H'lo all. I have been thinking about something: Instruction set with both registers and hardware stacks. Each instruction addresses each register or stack explictly. Is this newish or just blatantly old hat? 13:38:08 --- join: Al2O3 (n=Al2O3@c-75-70-11-191.hsd1.co.comcast.net) joined #forth 13:51:02 --- nick: gnomon_ -> gnomon 13:57:14 --- quit: GeDaMo (Read error: 110 (Connection timed out)) 14:04:08 --- join: GeDaMo (n=gedamo@212.225.98.255) joined #forth 14:06:30 --- join: madgarden (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 14:07:08 --- quit: madgarden (Client Quit) 14:07:26 --- join: madgarden (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 14:10:20 --- join: Quartus__ (n=Quartus`@74.198.8.59) joined #forth 14:17:01 --- quit: ygrek_ (Remote closed the connection) 14:25:02 --- quit: qFox ("Time for cookies!") 14:25:20 --- quit: Quartus` (Read error: 110 (Connection timed out)) 15:05:51 --- quit: kar8nga (Remote closed the connection) 15:17:05 --- quit: GeDaMo ("Leaving.") 15:22:48 --- quit: foxLaptop (Remote closed the connection) 16:00:47 Zarutian: I can't think of an example of a practical implementation of such a thing but that doesn't mean there isn't one or someone hasn't thought of it :) 16:57:39 To some extent that defeats the compact instructions you can get with a stack machine, since you have to have bits in the instructions to specify registers. I did think about having "address" and "data" registers in my FPGA processor so that I could decouple stack operations from memory operations. 16:58:27 With that approach you wouldn't have ! and @ do their traditional things - you'd explicitly pop to the address register, and then to the data register, and then execute !, which would start a memory write using those two registers. 16:58:35 While that was happening you could do other things on the stack. 16:58:49 You'd just know how long it took for the write to finish and you'd leave those registers alone until the operation was done. 16:58:59 --- quit: gnomon (Read error: 60 (Operation timed out)) 16:59:21 Similarly you'd do "@" by popping the address and then starting the read. You could do other things while waiting for the data to show up in the register. 17:00:16 So you need special instructions to pop to these registers. So more primitives, not more bits in every primitive. If that pushes your primitive count over the next power of two then you'd need an extra bit. 17:03:42 Anyway, speed of operation is what would justify stack machine registers if you ask me. They'd primarily be addressed implicitly, and have special purposes. General purpose registers would function primarily like a fast cache memory, since they'd offer nothing that memory locations don't offer except for speed. 18:03:53 --- join: luptenschteiner (n=User@unaffiliated/probonono) joined #forth 18:06:47 --- join: Snoopy_1611 (i=Snoopy_1@dslb-084-059-103-149.pools.arcor-ip.net) joined #forth 18:09:01 --- quit: probonono (Nick collision from services.) 18:09:08 --- nick: luptenschteiner -> probonono 18:30:40 --- quit: Snoopy_1711 (Read error: 110 (Connection timed out)) 18:33:40 --- join: Snoopy_1711 (i=Snoopy_1@dslb-088-068-203-192.pools.arcor-ip.net) joined #forth 18:49:25 --- join: PoppaVic (n=pops@adsl-99-150-133-146.dsl.sfldmi.sbcglobal.net) joined #forth 18:52:15 --- quit: Snoopy_1611 (Read error: 110 (Connection timed out)) 19:05:54 buffer 3 19:06:00 sorry... 19:06:49 hehe buff editing? ;-P 19:12:57 --- quit: Judofyr (Remote closed the connection) 19:57:56 --- quit: I440r (Client Quit) 20:19:57 --- quit: Al2O3 (Read error: 60 (Operation timed out)) 20:24:52 --- join: Al2O3 (n=Al2O3@c-75-70-11-191.hsd1.co.comcast.net) joined #forth 20:35:26 --- quit: PoppaVic (Client Quit) 20:35:38 --- join: PoppaVic (n=pops@adsl-99-150-133-146.dsl.sfldmi.sbcglobal.net) joined #forth 21:28:24 --- quit: aguai (Remote closed the connection) 22:38:43 Yeah - I'm using a curses-based IRC client that uses /commands to switch between buffers. 22:39:18 * PoppaVic chuckles 22:48:05 KipIngram: just remined me of old forth block-buff editors. 22:48:14 remin[d]ed 23:15:08 --- join: ygrek_ (i=user@gateway/gpg-tor/key-0x708D5A0C) joined #forth 23:59:59 --- log: ended forth/09.11.27