00:00:00 --- log: started forth/13.01.31 00:18:46 --- log: started forth/13.01.31 00:18:46 --- join: clog (~nef@bespin.org) joined #forth 00:18:46 --- topic: 'Forth Programming | logged by clog at http://bit.ly/91toWN | links: qr.net/gforth isforth.com forthfreak.net qr.net/ans_standard | Buy forth chips from www.greenarraychips.com' 00:18:46 --- topic: set by foucist!~foucist@ps14150.dreamhost.com on [Thu Apr 26 19:32:21 2012] 00:18:46 --- names: list (clog karswell nighty^ proteusguy Bahman dessos IAmHere ttmrichter @I440r cataska Nisstyre Inode malyn Plazma tgunr ASau dTal tangentcode kulp bjorkintosh rixard nottwo segher nighty-_ schmx cratuki newcup yiyus zbrown djinni dzho Adeon koisoke_ carc) 00:23:46 --- quit: I440r (Ping timeout: 248 seconds) 00:49:38 --- join: I440r (~zhiming@220.sub-70-194-131.myvzw.com) joined #forth 00:49:38 --- mode: ChanServ set +o I440r 00:57:54 --- quit: I440r (Ping timeout: 248 seconds) 00:59:15 --- quit: proteusguy (Ping timeout: 264 seconds) 01:24:47 --- join: I440r (~zhiming@99.sub-70-194-68.myvzw.com) joined #forth 01:24:47 --- mode: ChanServ set +o I440r 01:33:06 --- quit: I440r (Ping timeout: 248 seconds) 01:59:40 --- join: I440r (~zhiming@116.sub-70-194-66.myvzw.com) joined #forth 01:59:40 --- mode: ChanServ set +o I440r 02:08:18 --- quit: I440r (Ping timeout: 248 seconds) 02:11:29 --- join: kbmaniac_ (~androirc@host86-182-38-231.range86-182.btcentralplus.com) joined #forth 02:34:30 --- join: I440r (~zhiming@99.sub-70-194-68.myvzw.com) joined #forth 02:34:30 --- mode: ChanServ set +o I440r 02:42:57 --- quit: kbmaniac_ (Read error: Connection reset by peer) 02:43:30 --- quit: I440r (Ping timeout: 248 seconds) 03:09:38 --- join: I440r (~zhiming@239.sub-70-194-67.myvzw.com) joined #forth 03:09:38 --- mode: ChanServ set +o I440r 03:18:15 --- quit: I440r (Ping timeout: 252 seconds) 03:20:33 --- join: epicmonkey (~epicmonke@host-224-58.dataart.net) joined #forth 03:26:17 --- join: rixard_ (~rixard@81-235-139-119-no63.tbcn.telia.com) joined #forth 03:27:54 --- quit: rixard (Ping timeout: 240 seconds) 03:27:54 --- nick: rixard_ -> rixard 03:44:36 --- join: I440r (~zhiming@46.sub-70-194-64.myvzw.com) joined #forth 03:44:37 --- mode: ChanServ set +o I440r 03:53:10 --- quit: I440r (Ping timeout: 245 seconds) 04:05:35 --- join: I440r (~zhiming@92.sub-70-194-73.myvzw.com) joined #forth 04:05:35 --- mode: ChanServ set +o I440r 04:25:22 --- quit: I440r (Ping timeout: 248 seconds) 04:39:09 vlc 04:44:49 --- join: proteusguy (~proteusgu@ppp-61-90-13-50.revip.asianet.co.th) joined #forth 05:19:03 --- quit: proteusguy (Ping timeout: 264 seconds) 06:42:38 --- join: RodgerTheGreat (~rodger@71-13-216-83.dhcp.mrqt.mi.charter.com) joined #forth 06:54:35 RodgerTheGreat: i look forward to trying it :) 06:54:42 cool 06:55:01 let me know what parts suck so I can make them not suck so much 06:55:02 i'm trying to actually make the deadline for the one game a month thing :) 06:55:20 i think i might just make it 06:55:38 alright then I'll expect your report on my desk February 1st 06:55:44 implementing minesweeper in retro 06:55:49 oh fun 06:56:20 I did a j2me version of minesweeper and the most entertaining part was writing an AI "attract mode" 06:56:36 it is mesmerizing to watch minesweeper solve itself 06:56:37 i've got all the core logic written except the flood-fill, but it's probably got some bugs. 06:56:51 although the generalized form of the game is NP-complete 06:57:00 ah, yeah... i'm not trying to solve it yet... 06:57:15 that'll be a lesson later down the line. :) 06:57:36 my solver would just guess randomly on ambiguous cases. High-quality implementations of the game make you always guess correctly when there is ambiguity 06:59:36 ? 06:59:56 like a sort of quantum field thing? :) 07:00:11 where when you observe, you always luck out? 07:00:23 I don't think that's quite how superpositions work 07:01:32 --- quit: Bahman (Remote host closed the connection) 07:02:20 sure it is.. just like groundhogs... :) 07:03:57 very work in progressy: https://github.com/sabren/b4/blob/master/rx/minesweep.rx 07:05:46 is there a reason you call it dup2 when usually it's 2dup? 07:05:59 sure 07:06:16 ok 07:06:18 2dup in retro is ( xy-xyyy ) 07:06:28 what 07:06:34 because 2 is a prefix that does something twice 07:06:40 i do not like this 07:06:43 but that is how it is 07:06:47 retro is so odd 07:07:15 it's a mix of ideas from forth and joy and it has some inconsistencies 07:08:34 ( also from lots of other places ) 07:09:01 but: the vm is pretty awesome, and there was a file called commentary.txt that walks through the entire bootstrap process 07:09:23 that is cool 07:09:33 it got kind of out of date, but i've been studying it and turning it into a real literate program 07:09:39 as I have said before Ngaro is quite similar to my own VM 07:10:11 i can now actually generate the code for kernel.rx from the literate document 07:10:31 ( i'm generating minesweep.rx too.. that's why there are so few comments and the formatting is a little weird ) 07:10:40 ah 07:11:30 i am going to rewrite the first phase of the bootstrap process in something that looks nothing like retro 07:11:56 because i got incredibly completely confused every time I'd look at code in the kernel ( which is where *everything* is defined ) 07:12:28 i'd try to use that as example code and i couldn't because half of the words are really from the metacompiler and only apply to the target image 07:12:39 hmm 07:13:15 so. i will use a plain assembly language 07:13:25 with a little goading I might be able to get Maker (my boostrap compiler) to emit Ngaro bytecode 07:13:36 https://github.com/sabren/b4/blob/master/rx/b4.rx 07:14:09 i do plan to study your stuff in detail but right now i've got my hands full with retro. 07:14:21 also, i'm on a deadline for midnight tonight, so i'd better get back to work. :) 07:14:34 I need to head to work myself 07:14:40 seeya :) 07:14:51 'later 07:33:12 --- join: impomatic (~digital_w@148.54.112.87.dyn.plus.net) joined #forth 08:30:40 --- join: dto (~user@pool-96-252-62-13.bstnma.fios.verizon.net) joined #forth 08:45:11 --- join: ncv (~quassel@89.35.216.197) joined #forth 08:45:11 --- quit: ncv (Changing host) 08:45:12 --- join: ncv (~quassel@unaffiliated/neceve) joined #forth 08:58:26 --- quit: impomatic (Ping timeout: 248 seconds) 09:09:30 --- quit: tangentcode (Ping timeout: 256 seconds) 09:12:15 --- join: tangentcode (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #forth 09:15:47 --- join: impomatic (~digital_w@148.54.112.87.dyn.plus.net) joined #forth 09:30:38 --- join: MayDaniel (~MayDaniel@unaffiliated/maydaniel) joined #forth 10:02:03 --- join: kumul (~Kumool@c-76-26-237-95.hsd1.fl.comcast.net) joined #forth 10:23:15 --- join: proteusguy (~proteusgu@ppp-61-90-13-50.revip.asianet.co.th) joined #forth 10:26:27 --- quit: epicmonkey (Ping timeout: 248 seconds) 10:59:48 --- join: I440r (~zhiming@19.sub-70-194-86.myvzw.com) joined #forth 10:59:49 --- mode: ChanServ set +o I440r 11:38:04 --- quit: dto (Remote host closed the connection) 11:43:59 --- join: epicmonkey (~epicmonke@188.134.41.176) joined #forth 12:14:01 --- join: dto (~user@pool-96-252-62-13.bstnma.fios.verizon.net) joined #forth 12:14:03 ohai. 12:20:13 --- quit: dto (Remote host closed the connection) 12:53:53 what's up, folks? 12:55:36 running tests. terribly bored ! 12:55:40 yourself ? 12:55:44 uh 12:55:49 pushed a new version of Forth Warrior 12:55:53 ' actually works now 12:55:59 wait, where did you push this 12:56:08 and there's an in-game help system 12:56:25 the current first google hit for forth warrior is http://bible.cc/isaiah/42-13.htm 12:56:28 hehe 12:56:30 https://github.com/JohnEarnest/Mako/tree/master/games/Warrior2 12:56:35 The LORD will march out like a mighty man, like a warrior he will stir up his zeal; with a shout he will raise the battle cry and will triumph over his enemies. 12:57:06 I would totally use that if the game didn't have a female protagonist 12:58:00 the game is pretty playable now, just bare-bones 12:58:10 needs more levels and lots of little polish things 12:58:29 I was thinking about adding some brief cutscenes sort of like the intermissions in pacman 12:59:44 github thinks it's all F# code ;P 12:59:51 I have noticed 13:00:26 get your friends to star my repository so that forth is demonstrably more popular than F# and github will be forced to change their tune 13:00:45 brilliant ! 13:00:53 we are well on our way 13:01:23 a few more stars and my repo will be in the top 10 F# repositories on github 13:01:43 --- join: JDat (JDat@89.248.91.5) joined #forth 13:01:51 ooh we have a common star-er 13:01:56 catseye 13:02:11 actually he's forked me, not sure about starred 13:02:24 catseye is technically the reason Mako is WTFPLed 13:02:37 I was waiting to add a license until somebody actually asked 13:02:50 haha 13:03:43 :O tangentcode joined github on my 26th birthday 13:03:50 it is a sign 13:04:02 * kulp swears eternal allegiance 13:04:16 http://imgur.com/gallery/sMsefsb 13:04:59 --- join: Onionnion (~ryan@adsl-68-254-167-191.dsl.milwwi.ameritech.net) joined #forth 13:05:00 YES! Join the pascal/forth alliance, and together we will crush the evil C empire!!! :D 13:05:26 tangentcode: it shall be glorious 13:09:47 :( 13:10:00 what's so great about pascal 13:10:06 it wasn't even meant to be a real language ! 13:10:15 it is small 13:10:19 ah 13:10:25 C still isn't a real language 13:10:32 it is a shared delusion of compiler authors 13:13:14 --- join: jdavidboyd (~user@72.185.97.240) joined #forth 13:14:19 RodgerTheGreat, "still"? 13:21:04 as in unmoving. See also distillation. 13:21:49 i'm making a pascal/oberon -> forth compiler 13:21:58 or that's one piece of what i'm making anyway. 13:22:32 glorious 13:23:15 --- quit: proteusguy (Ping timeout: 264 seconds) 13:29:22 certainly sounds novel 13:29:38 :O then someday i can run pascal programs on my cpu maybe 13:30:54 kulp: wait, you're telling me your CPU *doesn't* run P-Code? 13:30:59 what the hell dude 13:31:07 you're living in the past 13:32:27 i am but an ignorant child :( 13:32:35 there there 13:32:43 next design i will run ALL THE CODES 13:32:57 but first i must learn to run one :( 13:37:08 --- quit: Onionnion (Quit: Leaving) 13:49:48 --- quit: I440r (Ping timeout: 276 seconds) 13:50:16 --- join: I440r (~zhiming@19.sub-70-194-86.myvzw.com) joined #forth 13:50:17 --- mode: ChanServ set +o I440r 14:02:26 --- quit: Nisstyre (Ping timeout: 252 seconds) 14:04:04 --- quit: ncv (Ping timeout: 252 seconds) 14:05:38 --- join: Nisstyre-laptop (~yours@oftn/member/Nisstyre) joined #forth 14:10:47 kulp: what cpu is this? 14:11:49 i already implemented my forth vm pascal ( or at least ported ngaro ).. and now i'm implementing pascal in forth :) 14:12:05 tangentcode: "tenyr" ; the ISA is described (badly) here https://github.com/kulp/tenyr/wiki/Assembly-language 14:12:20 it's not a very good machine for forth, really 14:12:24 but i'm implementing a forth on it anyway 14:12:53 kulp: you show 'em 14:13:15 haha 14:13:36 well next design i might do a stack machine, but i am still a register-machine kind of thinker i guess 14:14:30 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 14:20:53 --- quit: JDat () 14:22:31 starred. pretty cool. 14:24:36 thanks. my problem is that i put too many irons in the fire ... i have the simulator + simulated devices, FPGA implementation, forth implementation, all the binutils, everything going at once. but at least it has kept my attention for a year, which is more than i can say of any other project i have done 14:25:35 i know something about too many irons in the fire 14:26:06 --- quit: Nisstyre-laptop (Ping timeout: 245 seconds) 14:27:49 hehe. what are you irons ? 14:27:55 your* 14:29:36 well... right this minute i'm making a minesweeper game in retroforth. i just finished cleaning up some of my old turbo pascal code from 1994 for the flood fill routine. 14:29:59 went from 85 to 24 lines of pascal.. now i'm going to port it to forth. 14:30:13 aha 14:30:26 to get a feel for what your compiler should do ? 14:30:30 trying to ship some kind of game by midnight.. .which is < 8hrs away 14:30:38 yeah 14:31:09 i have the parser already... and it generates code throuh a template... 14:31:36 ah nice 14:31:38 my previous attempts use logic in the parser to do tree transformations... 14:31:52 but this time around i started generating retro code 14:32:12 it seems like it would work pretty nice... 14:32:14 is it implementing a sort of pascal VM in forth ? or is it supposed to be a more "native" translation 14:32:22 not that i have a clear idea where to draw a line there 14:32:34 in fact my question is fundamentally flawed ;) 14:32:41 i'm sort of building my forth up to be like pascal i guess 14:32:48 by creating pascal-like words 14:33:21 then i can use those words in the code generation template... 14:33:52 aha 14:34:18 maybe i should make my sad excuse for a c compiler do something like that 14:34:24 so basically there's just an extra pass in the compile process at the end where forth gets to do whatever 14:34:27 since i'm very vague on code generation :/ 14:35:30 not pretty to look at, but: https://github.com/nickelsworth/noct 14:35:50 https://github.com/nickelsworth/noct/blob/master/targets/Retro.stg 14:35:56 that's the main template 14:36:46 i kind of stopped for a bit to get better at using retro so I could figure out what i needed to generate.. ( as you guessed ) 14:43:27 yeah i've been fighting myself about that in a few different projects 14:43:34 i always want to automate something right away 14:43:52 but sometimes i start automating it before i understand how to do it manually and i have to force myself to work through it at least once :P 14:43:58 what template engine are you using ? 14:48:51 stringtemplate.org ... by the same guy who made antlr.org 14:49:35 actually http://antlr4.org/ is even nicer... you can just write the grammar and it'll walk the tree for you and output s-expressions 14:49:55 ( mostly afk / working on code here ) 14:50:10 not afk. away from window :) 14:50:59 hehe 14:51:17 you're making me think i should dump my bison grammar :( 14:51:20 but i want to do all the things myself ! 14:51:25 * kulp MUST DO ALL THE THINGS 14:52:28 real programmers hand roll their parsers 14:52:48 which reminds me one of my parsers doesn't work quite right 14:55:13 tangentcode: your personal mission statement link on your webpage is broken :( 14:55:32 and at least one other article link :( 14:55:49 http://tangentstorm.com/ is down entirely for me 14:56:27 yeah i don't have a website up anywhere 14:56:30 well 14:56:41 http://michaljwallace.com/ i guess.. but that's old too 14:56:47 oh 14:56:54 well if i found it, other people might ;) 14:57:13 i lost withoutane.com a while back 14:57:35 will rebuild once i have something to show people :) 14:58:25 http://reddit.com/r/b4lang was sort of my site for a while, but then i started hanging out on irc ;) 14:58:37 now i just ramble to anyone who listens :D 14:58:39 --- quit: Nisstyre (Ping timeout: 264 seconds) 15:00:26 oh you're the b4 guy 15:00:33 hah i saw that on reddit a while back 15:00:38 not that i really looked into it but i remember 15:01:15 this link is purple in chrome http://www.reddit.com/r/b4lang/comments/xmfcq/03_team_b4s_game_jam_entry_artist_wanted_ansi/ 15:07:23 :D 15:08:07 yep. so tonight, i'll finally ship my 24 hour game that I started in august :) 15:08:22 tangentcode: I don't do ansi stuff but if you ever switch to pixel based stuff I might be able to sprite some stuff for you 15:11:41 --- quit: MayDaniel (Read error: Connection reset by peer) 15:16:02 :) 15:16:25 we should do the next ludum dare or something! 15:16:57 or... well... i'm making a game a month, i hope :) 15:17:26 i don't do text-only... i just wanted to start with that 15:17:39 i have some graphic stuff up here: http://gamesketchlib.org/ 15:18:27 it's in processing/java... i decided if i was going to teach the class, i would teach it in the language I actually want to program in for the next decade or so. :) 15:18:58 which is what set this whole giant project off i guess 15:19:15 RodgerTheGreat, you dont do "ansi" meaning terminal curser stuff? 15:19:29 I mean I don't do "ANSI-art" 15:19:32 oooh 15:19:42 which is what tangentcode is using 15:19:55 I do garden-variety pixel art 15:20:09 tangentcode, i have a game for you 15:20:14 like space invaders but different 15:20:22 its a conecpt i came up with a few months back 15:20:26 called "Space Inversions" 15:20:31 i.e. YOUR the invaders 15:20:42 i just beat the space invaders game 15:20:43 :D 15:20:54 so you control the rate at which space invaders drop down, reverse direction and speed up? 15:21:08 you win by getting your dood to ground level 15:21:17 mothership flys by and drops things that give you a boost or whatever 15:21:43 not exactly. you get to dodge bullets but you dont control speed or direction 15:21:55 tho ive not fully thought that out lol 15:22:01 how do you dodge without controlling speed or direction 15:22:04 it might not work that way for the player then 15:22:11 that's sound of one hand clapping shit right there 15:22:15 by being able to pause movement momentarilly 15:22:30 i know. its not fully thought out lol 15:22:40 needs to be implemented and tested and adjusted to make the game play actually interesting 15:22:42 oh 15:22:43 crap 15:22:53 you have to be able to control movement in order to catch mothership drops 15:22:55 so yea. 15:23:06 I440r: my forth game is playable now. But you aren't going to like it because I wrote a forth in forth in a VM that runs on java 15:23:24 RodgerTheGreat, i saw the sources. thers some stuff in there i would be interested in 15:23:39 and FYI im developing an android game and ive put alot of the intelligence of the game in FORTH 15:23:49 neat 15:23:50 i wrote a java forth 15:23:59 not the compiler part just the execute part 15:24:00 impossibru 15:24:22 my android project is on hold tho. it is way way too big for just me 15:24:33 I mean, that sounds at least somewhat counter to your previously expressed opinions about not forth/asm 15:24:36 the game map is 512 by 256 so far 15:25:07 RodgerTheGreat, for a forth compiler. writing a forth executing engine.. blah use bash for all i care 15:25:25 well that was my whole friggin' point 15:25:27 and 99% of my rules are really rules of thumb that even i break on occasion 15:25:45 you can boostrap a forth using whatever you have lying around and then you try to make the forth metacircular 15:25:57 no. gforth is a forth compiler and it buries all the intracacies of the language inside a C virtual machine 15:26:15 ughh I don't want to start this again 15:26:16 isforth is not yet meta circular 15:26:49 but if you look at the isforth kernel which is coded in assembly, the output of the assembler is IDENTICAL to what the forth compiler would produce if it were metacompiling this kernel 15:27:13 my android java forth engine is not a forth really call it a forth-ish 15:37:04 I440r: last ludum dare was "you are the villain" ... i started doing a reverse "defender" game... i think it would need some decent AI to make the defenders smart enough 15:37:33 would like to talk more about this tomorrow when i can think about something other than minesweeper :) 15:37:35 tangentcode, yup 15:37:41 heh 15:38:00 ill be driving 300 miles to a new job on sunday for possible start monday 15:38:07 i start either mondy or wed for sure 15:38:21 jury is still out on that part but ill be driving there sunday night 15:39:07 --- join: Nisstyre-laptop (~yours@oftn/member/Nisstyre) joined #forth 15:39:07 and if you code this i get credit for the IDEA k-thx-bai :P~ 15:42:37 tangentcode: make your next game about a custodian in a copper mine 15:42:49 you could call it mine-sweeper or something 15:44:36 :D 15:54:34 https://github.com/sabren/b4/blob/master/rx/minesweep.rx ... okay. i think it's all display stuff now 16:05:00 --- quit: Nisstyre-laptop (Quit: Leaving) 16:19:46 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #forth 16:32:18 --- quit: epicmonkey (Ping timeout: 248 seconds) 16:50:39 --- join: Nisstyre (~yours@oftn/member/Nisstyre) joined #forth 17:55:30 --- join: jdavidbo` (~user@72.185.97.240) joined #forth 17:59:31 --- quit: jdavidboyd (Ping timeout: 246 seconds) 18:32:45 --- quit: tgunr (Quit: Nity nite) 18:41:52 --- join: tgunr (~davec@cust-66-249-166-11.static.o1.com) joined #forth 18:47:33 --- join: dto (~user@pool-96-252-62-13.bstnma.fios.verizon.net) joined #forth 18:55:49 --- join: Onionnion (~ryan@adsl-68-254-167-191.dsl.milwwi.ameritech.net) joined #forth 18:59:03 --- join: kbmaniac_ (~androirc@host86-157-24-246.range86-157.btcentralplus.com) joined #forth 19:04:35 --- quit: kumul (Read error: Connection reset by peer) 19:04:44 --- join: kumool (~Kumool@c-76-26-237-95.hsd1.fl.comcast.net) joined #forth 19:11:09 --- quit: tgunr (Quit: Nity nite) 19:24:31 --- join: tgunr (~davec@cust-66-249-166-11.static.o1.com) joined #forth 19:28:43 --- part: Onionnion left #forth 19:29:45 --- quit: tgunr (Quit: Nity nite) 22:13:24 --- log: started forth/13.01.31 22:13:24 --- join: clog (~nef@bespin.org) joined #forth 22:13:24 --- topic: 'Forth Programming | logged by clog at http://bit.ly/91toWN | links: qr.net/gforth isforth.com forthfreak.net qr.net/ans_standard | Buy forth chips from www.greenarraychips.com' 22:13:24 --- topic: set by foucist!~foucist@ps14150.dreamhost.com on [Thu Apr 26 19:32:21 2012] 22:13:24 --- names: list (clog malyn crcx cataska beretta kumool kbmaniac_ Nisstyre @I440r impomatic tangentfail rixard karswell nighty^ dessos IAmHere ttmrichter Inode Plazma ASau dTal kulp bjorkintosh nottwo segher nighty-_ schmx cratuki newcup yiyus djinni dzho Adeon carc koisoke_) 22:21:52 --- quit: kumool (Quit: Leaving) 22:38:27 --- quit: I440r (Ping timeout: 248 seconds) 22:41:09 --- quit: karswell (Remote host closed the connection) 22:50:45 --- join: I440r (~zhiming@233.sub-70-194-64.myvzw.com) joined #forth 22:50:45 --- mode: ChanServ set +o I440r 23:12:49 --- join: dto (~user@pool-96-252-62-13.bstnma.fios.verizon.net) joined #forth 23:15:10 hi all. so i went through my game engine and made a (nearly) comprehensive vocabulary list of all the words in my little dialect. http://pastebin.com/raw.php?i=iMUEKPBF now to just implement the little wrappers that will bind each word to the game engine behavior ... 23:15:34 the ones in the top list (the core words) are mostly done. 23:15:44 ah, it's pretty late at night, probably nobody cares :) 23:21:14 --- join: yunfan (~jyf@unaffiliated/yunfan) joined #forth 23:24:28 a question, how to do metacompiling on arm chip since it is harvard architecture 23:45:28 --- quit: ASau (Quit: off) 23:59:59 --- log: ended forth/13.01.31