00:00:00 --- log: started forth/17.03.11 00:27:36 --- quit: luser1 (Ping timeout: 258 seconds) 01:39:03 --- quit: wa5qjh (Read error: Connection reset by peer) 01:40:24 --- join: wa5qjh (~Thunderbi@121.54.90.154) joined #forth 01:41:41 --- join: true-grue (~true-grue@176.14.222.10) joined #forth 02:10:27 --- join: mtsd (~mtsd@customer-46-39-122-235.stosn.net) joined #forth 02:57:34 I am starting to get more of a feel for ans forth now 02:57:44 the weird part is getting used to arrays 02:59:13 all you really need is : set-array-index cells + ! ; : get-array-index cells cells + @ ; : print-array-index get-array-index . ; 02:59:20 and then it becomes alot easier 03:06:08 --- quit: wa5qjh (Ping timeout: 264 seconds) 03:09:40 --- join: GeDaMo (~GeDaMo@212.225.82.133) joined #forth 03:13:48 --- join: wa5qjh (~Thunderbi@121.54.90.154) joined #forth 03:19:27 John[Lisbeth]: don't forget allot 03:22:06 https://i.imgur.com/ntG7Muz.png 03:26:06 no 03:26:17 I am not defining the variable I am simply editing it 03:26:27 --- part: mtsd left #forth 03:27:08 I haven't automated variable defining but basically it would not be hard to make a word called array 03:35:08 yeah 03:36:00 in your create phrase you'd just have "cells allot" so you'd create wordlength * elements number of bytes of space in a word 03:36:18 I haven't learned create yet. That is for macros, right? 03:36:36 Not necessarily 03:36:54 and in your does> phrase you'd just have "cells +" 03:36:58 Create just makes a new named entry in the dictionary 03:38:49 What is cool is how easy it is to make an array of arrays 03:41:42 by the way how do I print the stack output of s" hello world" ? 03:41:50 type 03:42:07 That's if you want to print the string out 03:42:43 sweet 03:55:17 how do I concatenate two strings on the stack? 03:57:21 I can't remember if there's a string concatenate in the standard 04:00:30 I don't see one 04:01:24 gforth has s+ which appears to work 04:08:46 coolz 04:12:51 Yeah I am not really losing my fascination with forth 04:13:15 I mean don't get me wrong lisp is really great and I could be very happy as a lisp programmer because it does just about everything I could want in a language 04:13:19 same with c 04:13:29 but to me forth is a marvel because of how simple it is 04:13:39 it is so simple that it is beautiful 04:13:58 It is the most simple thing I have ever found that does what I want in a program 04:18:01 Forth is what you make it 04:18:13 this is one of the things I want from a program 04:18:16 lisp is what you make it too 04:18:20 thats why I like lisp 04:18:22 that's why I like c 04:20:37 Lisp and forth go a little further than c I think 04:20:46 lisp and forth are both programmable programming languages 04:20:57 you can reprogram c but I am not sure you can replace the base of it 04:21:12 whereas lisp and forth should be completely rewriteable at runtime 04:21:14 C has fixed keywords 04:21:31 A good forth can have nothing fixed correct? 04:21:46 Generally, everything can be redefined 04:22:01 This is very important to me and I can not explain the importance of that to other programmers 04:22:16 For them each of their languages has if/then, while, for, variables, +, -, and etc 04:22:25 and so they see all languages as being sort of the same thing 04:22:38 But many languages have big limitations based on syntax 04:24:47 You might be interested in http://galileo.phys.virginia.edu/classes/551.jvn.fall01/fsm.html which implements finite state machines; you basically draw ASCII tables with the state changes 04:40:59 I kind of sort of have a way to do finite state machines 04:41:35 basically your state just needs to be a number in a variable 04:41:54 and you can probably do some sort of long if then statement 04:41:58 thats al that is really necessary 04:42:07 you just need to implement switches really 04:52:56 Is there a way to push the contents of a word onto the stack? 04:53:16 similar to how s" works 04:54:24 s" pushes an address and a length 04:54:42 exactly 04:54:45 oh wow 04:54:49 that took a second to hit me 04:54:55 that is a sort of universal format, huh? 04:56:32 That is a great way to have metadata about an array 04:56:47 In fact when I make an array I could just as well save the length in index 0 05:04:37 That makes arrays alot nicer now that I think that the array length can be stored 05:07:12 My thought is if I've got a switch I can set a number to use a certain word 05:09:00 but then I have to make a really big switch every time basically 05:09:27 it would be easier if I had a way to take any word and make a number point to it 05:10:36 if there were such a thing as a pointer to a word then I would need a word that calls one of those pointers as if the word were invoked 05:16:30 ['] and execute 05:18:58 I can't figure out the notation of the first one 05:20:35 It doesn't seem like ['] will spit out a pointer to a word, that I can tell 05:34:34 ['] finds the execution token of the following word in the input stream and compiles it as a literal into the current word being defined 05:36:54 "compiles it as a literal into the current word being defined" ? 05:38:52 oh 05:39:18 it's just ; 05:39:21 I mean ' typo 05:39:30 ' is what I want 05:39:46 now I can push words onto the stack this is great 05:39:51 I mean REALLY great 05:48:16 --- quit: DGASAU (Ping timeout: 256 seconds) 05:49:28 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 05:58:30 so here 05:58:37 I can push the pointers to the words into an array 05:58:49 and I can push the pointer of that array onto the stack 05:58:54 or I can push the pointer of that array into an array 05:59:05 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 05:59:12 And then you've got joy/factor 05:59:49 If you really wanted you could include a pointer to the string form of the word too 06:00:06 but it would be something like paren. 06:00:18 you wouldn't need any special syntax if you really didn't want it 06:11:33 --- quit: Keshl (Quit: Konversation terminated!) 06:15:52 is there a way to take a pointer to a word and get a pointer and length to an array containing that string? 06:16:25 *the string that is used to invoke the word 06:26:24 --- quit: gravicappa (Ping timeout: 258 seconds) 06:53:24 --- quit: wa5qjh (Remote host closed the connection) 06:56:34 John[Lisbeth]: there's not a standard way to do it but in gforth: ' create >name name>string type will display "create" http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Name-token.html 07:35:04 --- quit: smokeink (Quit: Lost terminal) 08:19:47 --- quit: DGASAU (Read error: Connection reset by peer) 08:19:57 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 08:53:34 --- quit: DGASAU (Ping timeout: 256 seconds) 08:57:59 --- join: gravicappa (~gravicapp@ppp83-237-162-173.pppoe.mtu-net.ru) joined #forth 09:02:42 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 09:46:38 --- quit: beretta (Quit: Leaving) 10:17:17 --- quit: gravicappa (Ping timeout: 240 seconds) 10:25:47 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 10:33:35 --- quit: ACE_Recliner (Ping timeout: 246 seconds) 10:36:02 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 11:04:38 --- join: gravicappa (~gravicapp@ppp83-237-171-127.pppoe.mtu-net.ru) joined #forth 11:20:48 --- quit: DGASAU (Ping timeout: 258 seconds) 11:36:45 --- join: mkb (~mkb@arp1.sysblue.org) joined #forth 11:55:03 --- join: mtsd (~mtsd@customer-46-39-122-235.stosn.net) joined #forth 12:07:00 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 12:43:01 --- quit: ACE_Recliner (Read error: Connection reset by peer) 12:43:21 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 12:54:59 --- part: mtsd left #forth 12:56:21 --- join: wa5qjh (~Thunderbi@121.54.90.154) joined #forth 12:56:35 --- quit: gravicappa (Remote host closed the connection) 13:28:40 --- quit: GeDaMo (Remote host closed the connection) 13:40:28 --- join: luser1 (~luser1@h69-21-248-248.crlbnm.broadband.dynamic.tds.net) joined #forth 13:57:57 --- quit: true-grue (Read error: Connection reset by peer) 14:21:31 --- join: roboguy` (~roboguy_@2605:6000:3f6f:a300:a4d3:2a4d:c775:c7fc) joined #forth 14:30:15 --- quit: ACE_Recliner (Remote host closed the connection) 16:05:35 --- quit: joneshf-laptop (Remote host closed the connection) 16:09:46 --- quit: roboguy` (Remote host closed the connection) 16:13:58 --- join: roboguy` (~roboguy_@2605:6000:3f6f:a300:a4d3:2a4d:c775:c7fc) joined #forth 16:29:40 --- quit: karswell (Remote host closed the connection) 16:30:30 --- join: karswell (~user@214.135.46.217.dyn.plus.net) joined #forth 16:38:22 --- join: smokeink (~smoke@175.22.22.15) joined #forth 16:43:21 --- join: luser1` (~luser1@h69-21-248-248.crlbnm.broadband.dynamic.tds.net) joined #forth 16:44:22 --- part: luser1` left #forth 16:44:27 --- quit: karswell (Ping timeout: 240 seconds) 16:44:43 --- join: luser1` (~luser1@h69-21-248-248.crlbnm.broadband.dynamic.tds.net) joined #forth 16:44:47 --- quit: luser1` (Remote host closed the connection) 17:02:50 --- quit: smokeink (Quit: Lost terminal) 17:13:59 --- join: smokeink (~smoke@222.129.231.85) joined #forth 17:40:38 --- quit: luser1 (Remote host closed the connection) 17:43:05 --- join: luser1 (~luser1@h69-21-248-248.crlbnm.broadband.dynamic.tds.net) joined #forth 17:51:59 --- quit: zy]x[yz (Quit: leaving) 17:55:12 --- join: zy]x[yz (~corey@unaffiliated/cmtptr) joined #forth 18:32:38 --- quit: luser1 (Read error: Connection reset by peer) 18:55:05 Do the GreenArrays evaluation boards come with any kind of VGA or other basic video output, or is it something that has to be accessed and manipulated entirely over a serial connection via a telnet or somesuch? 19:16:08 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 19:43:40 --- quit: djinni_ (Quit: Leaving) 19:43:40 --- quit: irsol (Write error: Broken pipe) 19:43:40 --- join: CORDIC (~user@178-221-95-82.dynamic.isp.telekom.rs) joined #forth 19:43:40 --- join: djinni (~djinni@68.ip-149-56-14.net) joined #forth 19:43:44 --- quit: pdewacht_ (Remote host closed the connection) 19:43:45 --- join: pdewacht (~repent@kulon.2k38.be) joined #forth 19:43:48 --- quit: nighty (*.net *.split) 19:43:48 --- quit: phadthai (*.net *.split) 19:43:48 --- quit: fiddlerwoaroof (*.net *.split) 19:43:48 --- quit: josh5tone (*.net *.split) 19:43:48 --- quit: wa5qjh (*.net *.split) 19:43:48 --- quit: John[Lisbeth] (*.net *.split) 19:43:48 --- quit: X-Scale (*.net *.split) 19:43:48 --- quit: cajg (*.net *.split) 19:43:48 --- quit: pdewacht (*.net *.split) 19:43:48 --- quit: roboguy` (*.net *.split) 19:43:49 --- quit: groovy3shoes (*.net *.split) 19:43:49 --- quit: mkb (*.net *.split) 19:43:49 --- quit: ACE_Recliner (*.net *.split) 19:43:49 --- quit: smokeink (*.net *.split) 19:43:49 --- quit: nighty-_ (*.net *.split) 19:43:49 --- quit: sigjuice (*.net *.split) 19:43:49 --- quit: nerfur (*.net *.split) 19:43:49 --- quit: midre (*.net *.split) 19:43:49 --- quit: zy]x[yz (*.net *.split) 19:43:50 --- quit: carc (*.net *.split) 19:43:50 --- quit: djinni (*.net *.split) 19:43:50 --- quit: MrBusiness (*.net *.split) 19:43:50 --- quit: koisoke_ (*.net *.split) 19:43:50 --- quit: Vendan (*.net *.split) 19:43:50 --- quit: coelebs (*.net *.split) 19:43:50 --- quit: a3f (*.net *.split) 19:43:50 --- quit: CORDIC (*.net *.split) 19:43:50 --- quit: Zarutian (*.net *.split) 19:43:50 --- quit: rpcope (*.net *.split) 19:43:50 --- quit: LeCamarade (*.net *.split) 19:43:50 --- quit: APic (*.net *.split) 19:43:51 --- quit: gordonjcp (*.net *.split) 19:43:51 --- quit: koz_ (*.net *.split) 19:43:51 --- quit: ovf (*.net *.split) 19:43:51 --- quit: cartwright (*.net *.split) 19:43:51 --- quit: rgrinberg (*.net *.split) 19:43:51 --- quit: ggherdov` (*.net *.split) 19:43:51 --- quit: rprimus (*.net *.split) 19:43:51 --- quit: bluekelp (*.net *.split) 19:43:51 --- quit: taij33n (*.net *.split) 19:43:51 --- quit: jeremyheiler (*.net *.split) 19:43:52 --- quit: DGASAU (*.net *.split) 19:43:52 --- quit: crc (*.net *.split) 19:43:52 --- quit: tangentstorm (*.net *.split) 19:43:52 --- quit: Quozl`_ (*.net *.split) 19:43:52 --- quit: pointfree (*.net *.split) 19:43:52 --- quit: diginet2 (*.net *.split) 19:43:52 --- quit: malyn (*.net *.split) 19:43:52 --- quit: dzho (*.net *.split) 19:43:52 --- quit: z0d (*.net *.split) 19:43:52 --- quit: dys (*.net *.split) 19:43:53 --- quit: dograt_ (*.net *.split) 19:43:53 --- quit: Uniju (*.net *.split) 19:43:54 --- quit: DKordic (Remote host closed the connection) 19:50:05 --- join: irsol (~irsol@unaffiliated/contempt) joined #forth 19:50:05 --- join: pdewacht (~repent@kulon.2k38.be) joined #forth 19:50:05 --- join: djinni (~djinni@68.ip-149-56-14.net) joined #forth 19:50:05 --- join: CORDIC (~user@178-221-95-82.dynamic.isp.telekom.rs) joined #forth 19:50:05 --- join: ACE_Recliner (~ACE_Recli@c-50-165-178-74.hsd1.in.comcast.net) joined #forth 19:50:05 --- join: zy]x[yz (~corey@unaffiliated/cmtptr) joined #forth 19:50:05 --- join: smokeink (~smoke@222.129.231.85) joined #forth 19:50:05 --- join: roboguy` (~roboguy_@2605:6000:3f6f:a300:a4d3:2a4d:c775:c7fc) joined #forth 19:50:05 --- join: wa5qjh (~Thunderbi@121.54.90.154) joined #forth 19:50:05 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 19:50:05 --- join: mkb (~mkb@arp1.sysblue.org) joined #forth 19:50:05 --- join: Zarutian (~zarutian@168-110-22-46.fiber.hringdu.is) joined #forth 19:50:05 --- join: dys (~dys@ip-109-43-1-42.web.vodafone.de) joined #forth 19:50:05 --- join: nighty (~nighty@s229123.ppp.asahi-net.or.jp) joined #forth 19:50:05 --- join: phadthai (mmondor@ginseng.pulsar-zone.net) joined #forth 19:50:05 --- join: John[Lisbeth] (~lisbeth@52.176.46.58) joined #forth 19:50:05 --- join: rpcope (~GOTZNC@162.245.217.4) joined #forth 19:50:05 --- join: fiddlerwoaroof (~fiddlerwo@unaffiliated/fiddlerwoaroof) joined #forth 19:50:05 --- join: nighty-_ (~cp@www.taiyolabs.com) joined #forth 19:50:05 --- join: MrBusiness (~ArcMrBism@104-50-90-48.lightspeed.brhmal.sbcglobal.net) joined #forth 19:50:05 --- join: X-Scale (~ARM@185.9.158.5.rev.vodafone.pt) joined #forth 19:50:05 --- join: crc (sid2647@gateway/web/irccloud.com/x-bvbpvizerlziiwww) joined #forth 19:50:05 --- join: sigjuice (~sigjuice@2604:a880:1:20::83:6001) joined #forth 19:50:05 --- join: malyn (~malyn@54.201.34.233) joined #forth 19:50:05 --- join: LeCamarade (~revence@139.59.111.106) joined #forth 19:50:05 --- join: dograt_ (~dograt@unaffiliated/dograt) joined #forth 19:50:05 --- join: josh5tone (~josh@99-51-169-74.lightspeed.nworla.sbcglobal.net) joined #forth 19:50:05 --- join: cajg (~cajg@88.98.198.123) joined #forth 19:50:05 --- join: koisoke_ (xef4@epilogue.org) joined #forth 19:50:05 --- join: carc (~carc@unaffiliated/carc) joined #forth 19:50:05 --- join: nerfur (~nerfur@mail.freeside.ru) joined #forth 19:50:05 --- join: tangentstorm (michal@2600:3c03::f03c:91ff:fec8:caab) joined #forth 19:50:05 --- join: groovy3shoes (~groovy2sh@unaffiliated/groovebot) joined #forth 19:50:05 --- join: Quozl`_ (~quozl@antitheft.laptop.org) joined #forth 19:50:05 --- join: dzho (~dzho@unaffiliated/dzho) joined #forth 19:50:05 --- join: Uniju (~frog_styl@cpe-74-78-4-232.mass.res.rr.com) joined #forth 19:50:05 --- join: Vendan (~Vendan@li469-176.members.linode.com) joined #forth 19:50:05 --- join: ovf (sid19068@gateway/web/irccloud.com/x-tcxueksuzhpeemvl) joined #forth 19:50:05 --- join: APic (apic@apic.name) joined #forth 19:50:05 --- join: cartwright (~chatting@unaffiliated/cantstanya) joined #forth 19:50:05 --- join: rgrinberg (uid50668@gateway/web/irccloud.com/x-gzhvmhydxjbvzalr) joined #forth 19:50:05 --- join: ggherdov` (sid11402@gateway/web/irccloud.com/x-msklyrckjculwgcv) joined #forth 19:50:05 --- join: rprimus (~micro@178.79.128.27) joined #forth 19:50:05 --- join: gordonjcp (~gordonjcp@ilyushin.gjcp.net) joined #forth 19:50:06 --- join: coelebs (viileppi@gateway/shell/blinkenshell.org/x-idsylvcddhkwfxrq) joined #forth 19:50:06 --- join: koz_ (~koz@121.99.240.58) joined #forth 19:50:06 --- mode: rajaniemi.freenode.net set +v crc 19:50:06 --- join: midre (~midre@2601:547:500:2a80::2) joined #forth 19:50:06 --- join: jeremyheiler (sid81469@gateway/web/irccloud.com/x-gwdgptqkchuecwhi) joined #forth 19:50:06 --- join: a3f (~a3f@unaffiliated/a3f) joined #forth 19:50:06 --- join: bluekelp (~bluekelp@bluekelp.com) joined #forth 19:50:06 --- join: pointfree (sid204397@gateway/web/irccloud.com/x-zbxrmvvekohzkkow) joined #forth 19:50:06 --- join: taij33n (T15PYJ6KaT@volans.uberspace.de) joined #forth 19:50:06 --- join: diginet2 (~diginet@107.170.146.29) joined #forth 19:50:06 --- join: z0d (~z0d@unaffiliated/z0d) joined #forth 19:59:35 --- quit: roboguy` (Remote host closed the connection) 20:10:24 --- join: roboguy` (~roboguy_@2605:6000:3f6f:a300:a4d3:2a4d:c775:c7fc) joined #forth 20:45:33 --- join: karswell (~user@214.135.46.217.dyn.plus.net) joined #forth 21:49:17 --- quit: Zarutian (Quit: Zarutian) 21:57:25 --- quit: ACE_Recliner (Remote host closed the connection) 22:09:05 --- join: gravicappa (~gravicapp@ppp83-237-171-127.pppoe.mtu-net.ru) joined #forth 22:15:19 --- quit: DGASAU (Read error: Connection reset by peer) 22:18:29 --- quit: koz_ (Quit: WeeChat 1.7) 22:31:30 --- join: Keshl (~Purple@24.115.181.94.res-cmts.gld.ptd.net) joined #forth 22:43:40 --- join: dual (~bonafide@cpe-74-75-153-119.maine.res.rr.com) joined #forth 22:50:33 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 23:31:15 --- join: luser1 (~luser1@h69-21-248-248.crlbnm.broadband.dynamic.tds.net) joined #forth 23:54:39 --- quit: DGASAU (Read error: Connection reset by peer) 23:58:18 --- join: DGASAU (~user@lmpc.drb.insel.de) joined #forth 23:59:59 --- log: ended forth/17.03.11