00:00:00 --- log: started forth/17.09.25 00:51:22 --- join: roundsf (~user@2a00:2381:1a72:10:980b:8c3a:3bb9:70a) joined #forth 01:42:53 --- quit: proteus-guy (Remote host closed the connection) 02:11:39 --- quit: mnemnion (Remote host closed the connection) 02:12:15 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:7495:862f:3cfd:73e9) joined #forth 02:16:42 --- quit: mnemnion (Ping timeout: 255 seconds) 02:44:15 --- nick: bokonu -> monoko 02:47:09 --- nick: monoko -> d0048 03:26:12 --- quit: nighty- (Quit: Disappears in a puff of smoke) 03:28:09 --- quit: proteusguy (Remote host closed the connection) 03:33:36 --- join: impomatic (~digital_w@host109-150-0-85.range109-150.btcentralplus.com) joined #forth 03:35:33 --- join: proteus-guy (~proteusgu@180.183.109.203) joined #forth 03:58:02 --- quit: wa5qjh (Remote host closed the connection) 04:10:40 --- join: nighty- (~nighty@s229123.ppp.asahi-net.or.jp) joined #forth 04:31:52 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:d5ae:3403:4231:61e6) joined #forth 04:36:09 --- quit: mnemnion (Ping timeout: 246 seconds) 05:42:03 --- join: proteusguy (~proteus-g@184.22.244.57) joined #forth 05:42:03 --- mode: ChanServ set +v proteusguy 05:51:21 --- join: igstan (~igstan@89.36.15.98) joined #forth 05:51:36 --- quit: igstan (Client Quit) 06:02:37 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:1057:87e0:ee3e:8ece) joined #forth 06:07:06 --- quit: mnemnion (Ping timeout: 255 seconds) 06:13:06 --- quit: rpcope (Ping timeout: 240 seconds) 06:19:04 --- join: rpcope (~GOTZNC@162.245.217.4) joined #forth 08:38:06 --- quit: impomatic (Quit: impomatic) 09:11:25 --- quit: Zarutian_PI (Read error: Connection reset by peer) 09:11:32 --- join: Zarutian_PI2 (~3.1415@89.17.133.173) joined #forth 09:12:02 --- nick: Zarutian_PI2 -> Zarutian_PI 09:17:54 --- quit: dys (Ping timeout: 255 seconds) 09:22:33 --- join: impomatic (~digital_w@host109-150-0-85.range109-150.btcentralplus.com) joined #forth 09:51:01 --- join: dys (~dys@tmo-108-219.customers.d1-online.com) joined #forth 10:00:56 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:c816:8ca8:88b7:cb7b) joined #forth 10:05:09 --- quit: mnemnion (Ping timeout: 255 seconds) 10:50:00 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:c816:8ca8:88b7:cb7b) joined #forth 10:53:48 --- quit: proteusguy (Ping timeout: 246 seconds) 10:54:22 --- join: proteusguy (~proteus-g@2405:9800:bc10:1ca:1d8f:9c3b:2cdc:fb6b) joined #forth 10:54:23 --- mode: ChanServ set +v proteusguy 11:05:00 --- quit: rpcope (Ping timeout: 246 seconds) 11:19:06 --- join: rpcope (~GOTZNC@162.245.217.4) joined #forth 11:33:44 --- join: karswell_ (~user@217.60.199.146.dyn.plus.net) joined #forth 11:54:08 --- quit: johnmark_ (Ping timeout: 255 seconds) 11:55:19 --- join: johnmark_ (~johnmark@d53-64-121-247.nap.wideopenwest.com) joined #forth 12:37:37 $ gforth -e "2e0 10e0 f** f. cr bye" 12:37:37 1024. 12:38:21 2^10=1024 12:40:45 johnmark_: OK 12:40:55 Hi 12:41:00 Hi :) 12:41:12 There is life on this site. 12:41:25 Site? 12:41:33 chat 12:42:13 Thing have been so quite that I wanted to see if I could start a conversation. 12:44:03 I only started working with forth a few years ago. 12:44:54 I was in high school during the 1980s but never got a change to work with forth until recently. 12:45:28 My HP calculator was forth like. 12:46:55 I was evaluating Linux math programs for my Linux club and came across gforth. 12:47:40 The one thing I not figured out how to do is "input weight". 12:48:20 What do You mean? 12:49:54 Well I see a s>f and s>d so I think string-to-float. So input string and then do a string-to-float. 12:50:45 I want to calculate the weight of an object on the moon. 12:52:05 If you are working in pounds and require a space suit then moon_wight(Earth_weight+180)/6 12:52:22 moon_wight=(Earth_weight+180)/6 12:53:21 Where 180 is the Earth weight of an Apollo space suit. 12:56:03 Do You mean mass (unit: kg)? 13:13:10 Well the program should ask if they want to work in US pounds (lb) or kg. 13:16:35 If You normalize to lb, `lb' can be a `nop' annd nice comment :) . 13:19:54 $ gforth -e "s\" 123e0\" s>f f. cr bye" 13:19:55 5. 13:23:24 johnmark_: `s>f' means Single `Cell' Integer to Floating-Point Number. So that converted the length of the txt into a float :) . 13:23:53 oh 13:24:32 No wonder I am getting no where. 13:25:09 I think You should not waste time on GForth :) . 13:25:49 I am a c/c++/asm/python programmer. 13:25:53 Unfortunately I have nothing to recomend. Even I still use use GForth :) . 13:26:31 Awesome, implement Your own Forth in asm ofcourse :) . 13:28:19 ldx #N1 ; ldy #N2 ; ldu #N3 ; jst Add32 ; // N3=N1+N2 13:29:01 ldx #N1 ; ldy #N2 ; ldu #N3 ; jsr Add32 ; // N3=N1+N2 13:31:15 I am writing this for Motorola 6809. 13:31:26 I am writing this for Motorola 6809 Microprocessor. 13:31:43 Is it still in production? 13:36:08 Well the 6809 and 6309 can still be found. I do not think anyone is currently producing them. But my club members and implementing them in a Field Programmable Gate Array. 13:45:48 DKordic: What's wrong with gforth? 13:49:29 gforth may be better for graphic games if it did not run on top of an operating system. 13:52:50 If nothing else, I have no idea how to do anything with it :) . I will try https://github.com/mark4th . 13:54:06 Wasn't Forth originally rewritten each time it was used or something? 13:55:44 IDK. 14:17:16 $ gforth -e 's" 123" type cr bye' 14:17:17 123 14:19:00 $ gforth -e 's" 123" >float f. cr bye' 14:19:01 123. 14:19:59 So it I can input a string then I can call >float. 14:20:13 So how do I input a sting? 14:24:09 --- quit: ryoshu (Remote host closed the connection) 14:27:57 $ gforth -e 'key . cr bye' 14:27:57 107 14:28:26 $ gforth -e "words bye" |grep "key" 14:38:32 $ gforth -e 'create v4 key c, key c, v4 2 chars v4 2 type cr bye' 14:39:22 johnmark_: http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Files-Tutorial.html 14:43:05 --- quit: impomatic (Ping timeout: 240 seconds) 14:43:50 This looks promising, thanks. 14:55:24 johnmark_: $ mkdir GForth && cd GForth && wget --append-output=log.txt --wait=10s --recursive --no-parent http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/index.html && w3m index.html 14:58:40 So that will download the documentation:? 15:02:08 Yes, I haven't tested :) . 15:07:08 Well I get closer each time I try. 15:44:03 --- join: wa5qjh (~Thunderbi@freebsd/user/wa5qjh) joined #forth 15:47:49 --- join: leaverite (~quassel@175.158.225.206) joined #forth 15:47:49 --- quit: leaverite (Changing host) 15:47:49 --- join: leaverite (~quassel@freebsd/user/wa5qjh) joined #forth 16:02:24 --- nick: wa5qjh -> leaverite1 16:02:34 --- nick: leaverite -> wa5qjh 16:12:37 --- quit: nighty- (Quit: Disappears in a puff of smoke) 17:04:48 --- join: Chef_Gromboli (~Chef_Grom@static-72-88-80-103.bflony.fios.verizon.net) joined #forth 17:16:50 --- join: roboguy` (~roboguy_@24-143-53-151-dynamic.midco.net) joined #forth 17:22:19 --- quit: mnemnion (Remote host closed the connection) 17:22:55 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:c816:8ca8:88b7:cb7b) joined #forth 17:31:56 --- quit: mnemnion (Ping timeout: 264 seconds) 17:49:12 --- join: mnemnion (~mnemnion@c-73-223-86-196.hsd1.ca.comcast.net) joined #forth 17:53:43 --- quit: mnemnion (Ping timeout: 248 seconds) 18:04:53 --- quit: dys (Ping timeout: 248 seconds) 18:07:23 --- join: nighty- (~nighty@kyotolabs.asahinet.com) joined #forth 18:10:28 --- quit: roboguy` () 18:20:29 --- join: mnemnion (~mnemnion@c-73-223-86-196.hsd1.ca.comcast.net) joined #forth 18:26:33 --- quit: mnemnion (Remote host closed the connection) 18:26:59 --- join: mnemnion (~mnemnion@c-73-223-86-196.hsd1.ca.comcast.net) joined #forth 18:31:28 --- quit: mnemnion (Ping timeout: 252 seconds) 19:58:52 --- quit: karswell_ (Remote host closed the connection) 21:12:40 --- quit: Chef_Gromboli (Quit: Leaving) 21:39:05 --- quit: wa5qjh (Remote host closed the connection) 21:39:05 --- quit: leaverite1 (Remote host closed the connection) 22:12:42 --- join: wa5qjh (~Thunderbi@freebsd/user/wa5qjh) joined #forth 22:13:42 --- join: leaverite (~quassel@175.158.225.206) joined #forth 22:13:42 --- quit: leaverite (Changing host) 22:13:42 --- join: leaverite (~quassel@freebsd/user/wa5qjh) joined #forth 22:22:08 --- nick: wa5qjh -> leaverite1 22:22:16 --- nick: leaverite -> wa5qjh 22:39:31 --- quit: proteusguy (Remote host closed the connection) 23:00:44 --- quit: roundsf (Ping timeout: 264 seconds) 23:03:49 --- join: mnemnion (~mnemnion@2601:643:8102:7c95:a82d:694:fc8f:b2d4) joined #forth 23:04:13 --- join: dys (~dys@tmo-098-83.customers.d1-online.com) joined #forth 23:06:15 --- join: mnemnia (~mnemnion@2601:643:8102:7c95:a82d:694:fc8f:b2d4) joined #forth 23:10:19 --- quit: mnemnion (Ping timeout: 252 seconds) 23:10:58 --- join: proteusguy (~proteus-g@183.89.208.7) joined #forth 23:10:58 --- mode: ChanServ set +v proteusguy 23:11:27 --- join: MrBismuth (~ArcMrBism@2602:306:8325:a300:c801:d7f:77e1:92be) joined #forth 23:14:10 --- quit: MrBusiness (Ping timeout: 252 seconds) 23:15:12 --- nick: d0048 -> d0050 23:37:19 --- quit: dys (Ping timeout: 260 seconds) 23:50:51 I've been thinking about how to make a forth 100% free of all stack juggling. 23:51:48 First thought is to make all words unary. 23:58:34 For example OR takes one parameter and is invoked for each element of an array of numbers being OR'd -- including the first element. 23:58:34 This already simplifies calling OR from a loop. OR means "alternative" Think of the first OR as being an alternative to nothing or an alternative to itself. 23:59:31 Now I'm looking at ! (store). 23:59:59 --- log: ended forth/17.09.25