00:00:00 --- log: started forth/09.02.03 00:11:22 --- join: workthrick (n=mathrick@0x55529153.adsl.cybercity.dk) joined #forth 00:46:02 --- quit: workthrick (Remote closed the connection) 00:46:38 --- join: workthrick (n=mathrick@0x55529153.adsl.cybercity.dk) joined #forth 01:28:39 --- quit: nighty__ (Read error: 110 (Connection timed out)) 01:50:02 --- part: X-Scale left #forth 01:58:31 --- join: crc (n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net) joined #forth 02:08:58 --- join: GeDaMo (n=gedamo@dyn-62-56-77-42.dslaccess.co.uk) joined #forth 02:35:03 --- quit: crc () 02:49:11 --- quit: Deformati (brown.freenode.net irc.freenode.net) 02:49:11 --- quit: schme (brown.freenode.net irc.freenode.net) 02:49:12 --- quit: malyn (brown.freenode.net irc.freenode.net) 02:49:12 --- quit: segher (brown.freenode.net irc.freenode.net) 02:49:32 --- join: Deformati (n=joe@c-68-62-76-160.hsd1.mi.comcast.net) joined #forth 02:49:32 --- join: schme (n=schme@sxemacs/devel/schme) joined #forth 02:49:32 --- join: malyn (n=malyn@server.strangeGizmo.com) joined #forth 02:49:32 --- join: segher (n=segher@84-105-61-45.cable.quicknet.nl) joined #forth 03:09:02 --- quit: cataska ("leaving") 03:21:14 --- join: H4ns1 (n=Hans@p57BBA3E5.dip0.t-ipconnect.de) joined #forth 03:21:27 --- quit: H4ns (Nick collision from services.) 03:21:29 --- nick: H4ns1 -> H4ns 03:21:39 --- join: H4ns1 (n=hans@p57A0F6D5.dip.t-dialin.net) joined #forth 03:45:31 --- join: edrx (i=edrx@189.25.104.32) joined #forth 04:17:33 --- part: edrx left #forth 04:28:41 --- join: madmacs (n=madgarde@CPE001d7e527f89-CM00159a65a870.cpe.net.cable.rogers.com) joined #forth 04:52:35 --- quit: GeDaMo ("Leaving.") 06:06:35 --- quit: nighty^ (Excess Flood) 06:07:12 --- join: nighty^ (n=nighty@x122091.ppp.asahi-net.or.jp) joined #forth 06:32:13 --- join: crc (i=d8012b82@gateway/web/ajax/mibbit.com/x-e6eb2baa8c364a3e) joined #forth 06:32:13 --- mode: ChanServ set +o crc 06:52:33 --- join: gnomon_ (n=gnomon@CPE001d60dffa5c-CM000f9f776f96.cpe.net.cable.rogers.com) joined #forth 06:54:01 --- quit: gnomon (Nick collision from services.) 06:54:05 --- nick: gnomon_ -> gnomon 06:55:29 --- join: tathi (n=josh@dsl-216-227-91-166.fairpoint.net) joined #forth 06:55:31 --- mode: ChanServ set +o tathi 07:24:36 --- quit: workthrick (Read error: 110 (Connection timed out)) 07:53:05 --- join: H4ns2 (n=hans@p57A0F555.dip.t-dialin.net) joined #forth 08:10:48 --- quit: H4ns1 (Read error: 110 (Connection timed out)) 08:51:53 --- join: GeDaMo (n=gedamo@dyn-62-56-77-42.dslaccess.co.uk) joined #forth 09:01:17 --- quit: H4ns ("Leaving.") 09:14:44 --- join: JasonWoof (n=jasonwoo@unaffiliated/herkamire) joined #forth 09:14:44 --- mode: ChanServ set +o JasonWoof 09:27:15 --- quit: crc ("http://www.mibbit.com ajax IRC Client") 10:46:28 --- join: schmx (n=schme@c83-249-80-232.bredband.comhem.se) joined #forth 10:49:04 --- quit: schmx (Read error: 104 (Connection reset by peer)) 10:52:17 --- join: schmx (n=schme@c83-249-80-232.bredband.comhem.se) joined #forth 11:01:44 --- quit: schme (Read error: 110 (Connection timed out)) 11:22:46 --- join: H4ns (n=hans@p57A0F555.dip.t-dialin.net) joined #forth 11:43:14 --- quit: H4ns2 (Read error: 110 (Connection timed out)) 12:23:45 --- join: NorthStar (i=email@89.180.41.141) joined #forth 13:03:08 --- quit: GeDaMo ("Leaving.") 13:06:25 --- join: H4ns1 (n=hans@p57A0F555.dip.t-dialin.net) joined #forth 13:06:48 --- quit: H4ns (Nick collision from services.) 13:06:50 --- nick: H4ns1 -> H4ns 13:36:05 --- join: jan__ (n=jan@tmo-100-136.customers.d1-online.com) joined #forth 13:45:48 --- part: NorthStar left #forth 14:09:29 --- quit: Def (SendQ exceeded) 14:13:54 --- quit: jan__ ("Konversation terminated!") 14:57:26 --- join: hagna (n=hagna@70.102.57.178) joined #forth 14:58:25 so is there something like struct in forth 14:58:31 sure 14:58:35 What forth system are you using? 14:58:43 gforth 14:59:02 tathi: what about you? 14:59:15 http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Structures.html 14:59:22 ahh thanks 14:59:28 I use gforth mostly. 14:59:47 Most of the other ones are brain-dead in some way or another. 15:00:23 so how do you implement the forth vm? 15:00:34 start with a parser? 15:01:40 Forth doesn't exactly have a parser. :) 15:01:50 huh what? 15:02:06 ok this is sounding good 15:02:22 I mean, it basically just splits the input on whitespace. 15:03:02 what about if statements and loops? 15:03:29 they are "immediate" words -- they get executed instead of compiled. 15:03:48 so IF compiles a forward conditional branch and leaves a marker on the stack for ELSE or THEN to resolve the branch 15:03:52 that sort of thing 15:04:15 wow 15:04:32 I should point out that implementing a Forth system isn't a particularly productive thing to do... 15:05:01 If you're interested in the language, you'll learn a lot more by writing programs in Forth 15:05:44 well I wanted to use it for scripting an fpga 15:05:44 And Forth is sort of the pathologically minimal case of an interpreter, so if you're interested in interpreters it makes sense to learn about more conventional techniques first 15:06:04 And then when you come back you'll be able to see why the design of Forth is the way it is. 15:06:09 Ah, I see. 15:06:27 Oops, gotta run, bbiab. 15:06:32 chao 15:13:53 so are people still embedding it on microcontrollers and such? 15:14:04 like in this paper from 91 http://pygmy.utoh.org/3ins4th.html 15:29:12 tathi: so what do you use it for? 15:31:26 back 15:32:13 That's not exactly a Forth 15:32:41 That's a way to get code on and off a device 15:32:59 I use it for this and that; mostly little scripting-type stuff. 15:33:18 So what exactly do you mean by "scripting an fpga"? 15:35:25 tathi: using a programming language on an fpga cpu or using forth to control peripherals on an fpga 15:35:40 OK, that's what I thought. 15:36:07 anyway I'll be back tomorrow 15:36:11 thanks for the info 15:36:15 --- quit: hagna ("leaving") 16:03:05 --- quit: qFox ("Time for cookies!") 17:10:22 --- join: nighty__ (n=nighty@210.188.173.245) joined #forth 18:06:56 --- join: crc (n=charlesc@c-68-80-139-0.hsd1.pa.comcast.net) joined #forth 19:39:52 --- quit: tathi ("leaving") 19:43:29 --- nick: schmx -> schme 19:51:12 --- quit: madmacs () 20:32:36 --- quit: JasonWoof ("Leaving.") 21:06:33 --- quit: crc () 22:10:24 --- join: workthrick (n=mathrick@users177.kollegienet.dk) joined #forth 22:30:22 --- quit: workthrick (Read error: 110 (Connection timed out)) 23:59:59 --- log: ended forth/09.02.03