00:00:00 --- log: started retro/13.02.07 01:24:09 --- join: beretta (~beretta@cpe-107-8-120-84.columbus.res.rr.com) joined #retro 03:37:57 --- join: impomatic (~digital_w@146.90.28.164) joined #retro 06:30:00 --- join: kumul (~Kumool@c-76-26-237-95.hsd1.fl.comcast.net) joined #retro 08:29:20 --- quit: harrison_ (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) 08:29:45 --- join: harrison (~quassel@li89-226.members.linode.com) joined #retro 09:11:14 tangentstorm: you should be in #concatenative 09:11:47 years ago i wrote a little language based on joy 09:11:57 simple recursive decent parser 09:12:10 and i think i shall do so again 09:12:17 years ago i wrote a little language based on joy 09:12:27 in oberon 10:04:31 --- join: kbmaniac (~dave@host86-157-24-246.range86-157.btcentralplus.com) joined #retro 10:24:09 --- join: ncv (~quassel@79.114.104.246) joined #retro 10:24:09 --- quit: ncv (Changing host) 10:24:09 --- join: ncv (~quassel@unaffiliated/neceve) joined #retro 10:57:16 --- quit: kbmaniac (Read error: Operation timed out) 11:03:06 --- quit: impomatic (Quit: impomatic) 11:08:50 --- join: ncv_ (~quassel@79.114.63.92) joined #retro 11:10:40 --- quit: ncv (Ping timeout: 252 seconds) 11:18:47 --- join: kbmaniac (~dave@host86-157-24-246.range86-157.btcentralplus.com) joined #retro 11:24:48 --- quit: kbmaniac (Read error: Operation timed out) 11:33:47 --- join: impomatic (~digital_w@146.90.28.164) joined #retro 13:26:18 --- quit: ncv_ (Remote host closed the connection) 13:32:44 --- quit: kumul (Quit: Leaving) 14:19:26 --- join: Mat2 (~claude@91-65-144-133-dynip.superkabel.de) joined #retro 14:19:29 hello 14:28:53 hi Mat2 14:29:00 hi erider 14:29:47 Mat2: do you know some bash -fu to do 2's complement 14:33:44 no 14:36:02 I am right, you plan to create an ELF header though a bash script ? 14:36:37 lol close 14:37:21 a coff header ? *g* 14:40:09 no I am playing around with writing binary 14:40:58 I am thinking about a forth from thin air tutorial kind of like bcompiler 14:41:54 but I want to learn how to use only command line tools to do the heavy lifting 14:42:48 ahm, can you givre me a link to the thin air tutorial ? 14:42:54 ^give 14:45:04 http://www.rano.org/bcompiler.tar.gz 14:48:40 printf "%d\n" echo $((255-16#e7)) 1's complement just at 1 and to get 2's 14:49:21 uh, ok 14:49:34 sorry take out the echo :-) 14:49:46 printf "%d\n" $((255-16#e7)) 14:53:14 why you do not simply use awk ? 14:53:50 it is a standart tool for every *nix up system 6 14:54:34 * erider doesn't like the syntax of awk 14:55:09 I can just use perl instead of awk 14:55:36 but I want to use the basic builtins 14:56:01 I can understand that. The thing is awk features a build-in function compl(value) for bitwise complements 14:58:47 an alternative would be these old monitor tool in combination with ed 14:59:07 (that's really, really basic) 15:01:52 :-) 15:02:14 printf will work for now 15:03:12 Mat2: how are you doing today 15:04:56 Mat2: symbol tables are a mystery to me :-( I have not found a good explanation on how to implement them by hand 15:05:28 most of the assemblers and compilers do that heavy lifting for you 15:10:58 hmm, simple symbol tables are just record arrays of a string and a pointer 15:12:05 ^today I'm working on the parser of metro 15:19:49 sounds fun 15:23:59 Mat2: did your tcl expert have any feedback 15:25:12 He will study the code next week (and will take the time for some simplifications of it) 15:26:02 because too much work at current 15:26:13 :-) 15:26:26 hey are you make metro in retro 15:26:54 I port the parts, which do not relate on my vm design 15:26:55 well at least the bootstrapping 15:27:11 so you are doing it in C 15:27:32 the vm is coded in C at moment 15:27:44 sure 15:28:11 but I have also an prototype in (Object)Pascal 15:30:21 I think this is my last project in C because of language specific incompatibilities and quirks 15:30:42 :-) 15:30:59 Mat2: what are you missing 15:31:02 from C 15:32:28 C has no standard for endianess handling and some syntactical language features are compiler dependent, like pointer arrangement inb memory 15:32:46 ^in memory 15:33:40 that makes it very had coding both platform and compiler independent 15:34:57 hmm 15:36:00 I thought there was endianess support 15:37:40 my coding is, that coding with cross-platform macro assemblers is likewise as portable as in C but offers better cpu control 15:40:12 yes, there exist some library support 15:40:48 but no standard for handling mixed endianess formats 15:41:13 ah ok 15:42:10 sorry I meant my conclusion is 15:48:10 so what do you plan to use next time metro? 15:48:14 --- quit: karswell` (Read error: Connection reset by peer) 15:51:56 I will use nasm 15:52:59 and for all other planed cpu architectures (ARM7 and MIPS32) gas 15:54:31 nice 16:14:21 ok, it's after midnight here 16:14:29 enouth coding for today 16:14:31 ciao 16:14:39 --- quit: Mat2 (Quit: Verlassend) 16:16:53 erider: do you know about this? http://homepage.ntlworld.com/edmund.grimley-evans/bcompiler.html 16:16:55 oh 16:17:00 obviously you do! :) 16:17:12 didn't notice the name "bcompiler" until i pasted it. :) 16:18:12 :-) 16:28:29 btw hi tangentstorm 16:40:11 hello 16:40:38 i have also been inspired by that paper. in fact, it is what lead me to search for a virtual machine in the first place. 16:40:56 the fact that we can't just make a *.com file and run it anymore. 16:41:01 like we could in the dos days... 16:45:08 well header have changed the game on that 16:46:56 tangentstorm: have you seen this http://code.google.com/p/scheme-from-scratch/ 17:03:04 yes but i haven't read it 17:11:14 oh 17:18:36 i have a huge pile of things to read, and forget to come back and read them :) 17:18:49 what about stone knife forth? 17:19:04 https://github.com/kragen/stoneknifeforth 17:19:32 I seen this 17:19:53 http://www.reddit.com/r/programming/comments/9x15g/programming_thought_experiment_stuck_in_a_room/c0ewj2c 17:20:09 i've never tried to run it 17:20:16 the reddit comment is by the same guy 17:22:03 That looks interesting 17:22:10 you never tried it 17:24:17 i read his code and the discussion 17:24:30 i just didn't actually try to run it or play with it 17:25:26 the course i'm working on in my head starts with a very simple description of algorithms that draw graphics 17:25:57 like: here is putpixel() ... here's what a loop is. let's draw a vertical line 17:26:02 let's draw a horizontal line 17:26:05 let's draw a box 17:26:07 let's fill the box 17:26:12 let's get the mouse position 17:26:30 let's handle click events 17:26:57 let's change the color of the square when we click it 17:27:05 let's make some more 17:27:23 here's an array of these little squares we can toggle between two colors 17:28:30 so... basically that covers a simple language with things like records (for 2d points), arrays, loops, etc. 17:28:48 in other words: oberon 17:29:14 next lesson: use the squares to demonstrate what bits are. 17:29:19 how truth tables work 17:29:35 signals and events... 17:29:52 build a little circuit. 17:29:56 build a computer 17:30:33 implement a little stack device 17:30:35 implement 30 or so primitive instructions 17:30:50 like.. say.. the ones in ngaro. 17:30:58 how long is this course 17:31:13 i don't know :) 17:31:33 i picture it as being sort of a game that people play 17:31:40 part lecture part puzzle 17:31:46 very visual and animated 17:32:12 https://twitter.com/tangentstorm 17:32:15 whoops 17:32:31 https://twitter.com/tangentstorm/status/253709661646229505 17:32:42 that is one representation of the computer. 17:34:18 probably broken into segments like khan academy. 17:34:48 i filmed the first part, the high level language part about a year ago 17:34:58 completely improvised and un-edited. 17:35:15 maybe a year and a half ago now? yikes. 17:35:39 i was using processing 17:35:53 http://www.gamesketchlib.org/ 17:36:40 so you don't know how long the course is going to be 17:36:46 i started thinking about this couse as soon as i drew the square 17:37:04 and it's taken me this long to figure out how to even do it 17:37:59 i know it starts with what i just said . i don't know where it ends. 17:38:49 i suspect i will break it into units 17:39:11 and you will be able to choose different paths 17:39:45 pick your own adventure :-) 17:39:48 yes 17:39:52 there is a story too 17:40:19 part of it is the story of ernie goldsmile in the forth dimension 17:40:53 and there is another part of the story that involves time travel 17:41:08 and takes place in the 1880's 17:41:45 so yeah, like an adventure game. 17:42:36 big chunks of it will be free to play, but you will be able to buy extra lessons and stuff too 17:43:12 anyway... that's the not-so-super-secret plan. :) 17:44:33 is this class an interactive game? 17:45:31 i think that it will be a series of interactive video lectures and the homework will be an interactive game 17:47:14 have you played forth warrior yet? 17:47:57 no 17:48:59 https://github.com/JohnEarnest/Mako/tree/master/games/Warrior2 17:49:16 it's an adventure game where you control the player by writing forth programs :) 17:49:33 RodgerTheGreat from over in #forth wrote it 17:52:43 tangentstorm: you need to use gforth to run? 17:53:53 tangentstorm: have you played it? 17:54:45 you need java 17:54:51 mako is his virtual machine 17:55:02 will I have that 17:55:04 it is somewhat similar to ngaro 17:55:04 lol 17:55:16 yeah, just get the whole repository 17:55:41 git clone the mako repo 17:55:49 you need java and ant, and that should be it. 17:56:03 see the readme 17:56:48 mako has a very nice sprite device, and a sound system. 17:57:20 he has a whole little collection of games in there... mostly they look like old gameboy or NES games :) 17:57:27 SNES maybe 17:57:34 did you beat it 17:57:48 ;-0 18:05:22 not yet no.. just tried it yesterday 18:05:47 oh 18:18:28 Good evening 18:18:53 hi crcx 18:20:14 hey crcx :) 18:21:10 i am setting up an account where people can ssh in and play with retro 18:22:48 Cool :) 18:23:34 I'm working on documenting the parable compiler process and bytecodes 18:30:34 crcx: would it annoy you if i call my virtual machine retro-vm ? 18:31:06 i want to merge in some of the features from parable and mako 18:32:40 and also do that utf-8 encoding stuff 18:33:39 i'm kind of committed to the name retro pascal, but "retro vm" is just what i've been calling this thing in my head 18:33:52 i'm not married to it. 18:34:01 maybe a better question is: do you guys think it would be confusing? 18:34:20 .. 18:34:32 the fact that i'm asking it means it's probably confusing. :) 18:34:48 the name i planned to use was "lecter" :) 18:36:28 mabye b4vm 18:36:36 b4th 18:52:32 Tangent: not at all. Go ahead. 18:54:12 hmm. well... thanks! :) i need to sort out a bunch of branding stuff, but that was at the top of my mental list. if you change your mind please do let me know 19:13:20 --- quit: saper (*.net *.split) 19:13:21 --- quit: tangentstorm (*.net *.split) 19:13:22 --- quit: oPless (*.net *.split) 19:13:22 --- quit: TheStitch (*.net *.split) 19:13:23 --- quit: yiyus (*.net *.split) 19:13:23 --- quit: ivan`` (*.net *.split) 19:13:23 --- quit: kbmaniac_ (*.net *.split) 19:49:06 https://gist.github.com/crcx/4736453 20:26:19 --- join: TheStitch (~Stitch@2a02:7d0:3:203:216:3eff:fe1e:f36a) joined #retro 20:27:11 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 20:27:23 --- join: oPless (~oPless@lart.doosh.net) joined #retro 20:27:48 --- join: kbmaniac_ (~dave@host86-157-24-246.range86-157.btcentralplus.com) joined #retro 20:27:54 --- join: yiyus (1242712427@je.je.je) joined #retro 20:27:54 --- join: ivan`` (~ivan@unaffiliated/ivan/x-000001) joined #retro 20:28:02 --- join: saper (saper@wikipedia/saper) joined #retro 20:28:19 --- quit: ivan`` (Max SendQ exceeded) 20:28:28 --- join: ivan`` (~ivan@unaffiliated/ivan/x-000001) joined #retro 22:12:02 if anyone wants to try mineswpr or see my colorized retro, you can now ssh to retro@argon.sabren.com ... the password is currently 6dfigw5 22:16:07 or you can grab the image from http://games.tangentcode.com/mineswpr/mineswpr.img 23:59:59 --- log: ended retro/13.02.07