00:00:00 --- log: started forth/02.01.14 08:01:50 --- quit: aaronl (carter.openprojects.net irc.openprojects.net) 08:03:20 --- join: aaronl (aaronl@vitelus.com) joined #forth 08:13:36 --- quit: oxygene (carter.openprojects.net irc.openprojects.net) 08:16:31 --- join: oxygene (oxygene@linux-future.de) joined #forth 11:04:50 --- log: started forth/02.01.14 11:04:50 --- join: clog (nef@bespin.org) joined #forth 11:04:50 --- names: list (clog aaronl oxygene) 11:41:21 --- join: futhin (thin@h24-66-212-245.cg.shawcable.net) joined #forth 12:23:52 sexy 12:23:55 --- quit: futhin ("sexy!! !!!") 13:31:29 --- join: aum` (~aum@l76-137.world-net.co.nz) joined #forth 13:31:31 --- quit: aum` (Read error: 54 (Connection reset by peer)) 13:40:53 --- join: aum` (~aum@l76-137.world-net.co.nz) joined #forth 14:17:44 --- quit: aum` () 15:56:34 --- join: aum` (~aum@l76-137.world-net.co.nz) joined #forth 15:56:37 --- part: aum` left #forth 16:15:54 --- join: I440r_ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 17:21:40 --- join: Fare_ (fare@samaris.tunes.org) joined #forth 17:22:06 --- nick: Fare_ -> Atlas 17:50:17 --- quit: Atlas ("Connection reset by pear") 17:54:12 --- quit: I440r_ ("Trillian (http://www.ceruleanstudios.com)") 17:57:11 --- join: I440r_ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 17:58:00 --- part: I440r_ left #forth 17:59:47 --- part: aaronl left #forth 18:17:05 --- quit: oxygene (carter.openprojects.net irc.openprojects.net) 18:25:54 --- join: oxygene (oxygene@linux-future.de) joined #forth 18:28:23 --- join: I440r__ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 19:23:23 --- join: I440r___ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 19:23:46 --- quit: I440r__ (Read error: 104 (Connection reset by peer)) 19:27:45 --- join: futhin (thin@h24-66-212-245.cg.shawcable.net) joined #forth 19:38:36 --- quit: I440r___ (Read error: 104 (Connection reset by peer)) 19:40:06 --- join: I440r___ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 19:58:01 --- quit: I440r___ (Read error: 104 (Connection reset by peer)) 20:01:20 --- join: I440r___ (~mark4@1Cust57.tnt1.bloomington.in.da.uu.net) joined #forth 20:01:29 hi 21:14:44 --- quit: futhin ("laters") 21:30:06 --- join: Speuler (~l@c38038.upc-c.chello.nl) joined #forth 21:30:17 g'd morning 21:31:33 good morning 21:31:39 hsa anyone heard of a forth written in brainfuck ? 21:31:43 has ... 21:32:49 would make for an extremely portable interpreter base ... 21:45:48 hi 21:45:57 hehe 21:46:14 lol 21:46:30 is there a brainfuck-compiler? ;) 21:46:38 it would be IMPOSSIBLE to code 21:46:50 brain is purlely linear code 21:46:50 no functions 21:46:59 orrather 21:46:59 ONE function heh 21:47:05 --- join: qless (~qless@clgr000977.hs.telusplanet.net) joined #forth 21:47:38 --- quit: qless (Client Quit) 21:50:59 I440r___: hmm... isn't brainfuck turing complete? so it should be possible somehow... ;) 21:51:15 otoh there are a lot turing mini-languages ;) 21:51:44 I440r___: nope. BF knows iteration 21:54:47 oxygene: i doubt there is a "real" compiler. there should be translators, and pseudo-compiler which pack a BF interpreter with the source 21:55:21 there is a brainfuck interpreter, written in brainfuck 21:56:39 I440r___: bf uses [ and ] as loop contruct 21:56:46 struct... 22:04:05 --- join: Speuler_ (~l@c38038.upc-c.chello.nl) joined #forth 22:10:57 yea 22:11:03 i know 22:11:07 but u cant call a function in it 22:11:33 would be good if u could 22:11:46 not directly ... have to implement it 22:12:35 would have to be like assembler labels 22:13:03 through conditional loop, and update of the content of cell pointer points to 22:14:22 a few cells encode in bin the function number. these cells are used by [ ] to skip/branch to the corresponding function 22:15:01 but theres no stack 22:15:05 there is 22:15:12 so you can to call xyzzy return 22:15:14 it is called "the pointer" 22:15:17 and call xyzzy later and return 22:15:33 yea 22:15:42 and "the pointer" can only point to ONE location 22:15:50 so it would need to POINT to a SP location 22:15:54 two stacks: inc / dec n times "the pointer" to point to one or other stack :) 22:15:57 and then be pointed to an RP location 22:15:57 etc 22:16:05 with SP and RP being updated 22:16:42 you could have 0000 = IP 22:16:48 0002 = SP 22:16:53 0004 = RP 22:17:06 can you store immediate values in the pointer ? 22:17:41 where would the immediate value come from ? 22:18:02 mov 0000 pointer 22:18:02 pointer NOW points to IP 22:18:16 just being able to back the pointer up 22:18:22 and move it rorward 22:18:25 nop, but you can inc/dec the pointer 22:18:26 and increment and decrekent the contents of where it points 22:18:30 is next to useless 22:18:34 ugh 22:18:41 so you have ONE pointer 22:18:41 do it often enough, and it is like having loaded with value 22:18:46 that acts as IP, SP nd RP 22:18:50 cant be done 22:20:38 guess i'd try nest,unnest,next before doing any primitives 22:20:47 need to be able to store ANY value at ANY location 22:20:52 not just advance pointer 22:20:57 reverse pointer 22:20:59 you can 22:21:01 increment where pointer points to 22:21:05 etc 22:21:06 only iteratively 22:21:20 itterativly CANT work heh 22:21:24 you NEED function calls 22:21:29 immediate fetches and stores 22:21:33 build them 22:21:37 build them too 22:21:37 brainfuck is next to useuelss 22:21:45 you can do ANY ONE funciton in brainfuck 22:21:50 you couldnt do anything usefull 22:22:32 like, an x86 emulator :) 22:23:13 heh 22:23:40 with "standard" bf, impossible 22:23:56 uses max 30000 cells 22:24:06 needs xbf 22:24:16 extended brainfuck 22:24:22 heh 22:24:27 10 million cells 22:24:38 but, you can implement an AND gate 22:24:54 and logically connect ins and out 22:25:16 so you implement a cpu 22:25:27 from nands 22:25:45 from bf implemented nands 22:27:07 if bf is turing complete, a 2-instruction language would do too 22:27:10 heh 22:27:22 you could prolly do ONW nand gate :P 22:27:22 one 22:27:39 "shift" and "fuse" 22:27:51 or "step" and "fuse" 22:28:03 the program would look like: 22:28:20 step step fuse step fuse fuse step fuse step step step fuse ... 22:29:00 ? 22:30:06 the step/fuse interpreter is an array of nands, and a connection matrix 22:31:03 what does step do 22:31:12 what does fuse do 22:31:25 advance to the next connection point of the matrix 22:31:34 w/o fuse 22:32:12 fuse connects 22:32:21 and advances to the next point 22:32:42 u lost me 22:32:46 totally 22:32:46 heh 22:33:05 t'is like a breadboard 22:33:33 ehm 22:33:35 not quite 22:35:26 column n: outputs of nand n 22:35:44 row 2n: input 1 of nand n 22:35:51 row 2n+1: input 2 of nand n 22:36:28 each nand has how amny inputs 22:36:28 all would have to be teh same 22:36:34 stock output of any nand on input of any nand, by fusing the corresponding point in the matrix 22:37:08 how would u remember what inputs and outputs were connect ed to what inputs and what outputs heh 22:37:35 the program source tells me 22:37:42 no need to remember :) 22:38:03 oh. 22:38:13 i put a matrix in mem, and store bits in it 22:38:50 that is, i compile the source to object ... 22:39:09 translate "fuse" into 1 22:41:32 stepping beyond last matrix point starts the program (the resulting gate logic) 22:42:09 i need a fuse point for 1 and 0 too. 22:42:42 either 1 or 0 22:43:33 no need 22:44:23 i pull up open inputs in the emulated nands 22:45:23 output of unconnected nand is 0 22:45:28 will be very complex 22:45:31 and slow heh 22:45:39 can invert that for zero 22:45:48 eh, 1 22:46:21 can be ported to hardware easily 22:46:36 where it will be quick 22:47:33 i had a fone interview today 22:47:40 with flir 22:47:52 they make infared imaging stuff 22:47:54 i preferred a chicken 22:48:00 milatary use etc 22:48:02 and police 22:48:14 ah 22:48:18 ? 22:48:49 nasty stuff that 22:48:59 what is 22:49:23 equip with military potential 22:49:57 oh hehe 22:50:06 was declining a job once 22:50:33 cant afford to decline ANY job 22:50:41 (probably wouldn't have received clearance anyway:) 23:09:14 :dup 23:09:14 >off>off<<[->+>+<<]>>[-<<+>>]< 23:09:25 :swap 23:09:25 >off<[->+<]<[->+<]>>[-<<+>>]< 23:09:59 :off 23:09:59 [-] 23:34:37 --- quit: Speuler_ (Read error: 113 (No route to host)) 23:36:16 --- part: I440r___ left #forth 23:59:59 --- log: ended forth/02.01.14