00:00:00 --- log: started retro/13.08.11 03:27:59 --- quit: Endeg (Read error: Connection reset by peer) 05:45:42 --- quit: beretta (Quit: Leaving) 07:10:14 --- quit: goingretro (Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org) 07:10:58 --- join: goingretro (~kbmaniac@host109-155-40-193.range109-155.btcentralplus.com) joined #retro 07:11:55 --- quit: goingretro (Client Quit) 07:12:58 --- join: goingretro (~kbmaniac@host109-155-40-193.range109-155.btcentralplus.com) joined #retro 08:27:07 --- join: Kumul (~nmz@196.42.17.194) joined #retro 09:20:26 --- join: Mat2 (~claude@91-65-144-133-dynip.superkabel.de) joined #retro 09:20:31 hello 09:43:37 found a misbehaviour in Linux: Acces right-setting per mprotect can be ignored if memory is allocated per malloc! I need to use the non-standard valloc function to ensure this 09:43:43 ^Access 10:39:13 problems solved and a test routine compiles and run without errors ! 10:41:07 * Mat2 now thinking of the best way for passing values from retro's stack to compiled routines and back 11:47:09 I think about the following convention: Up to first tree stack-elements are preinitialized before execution. The compiled routine return TOS 11:49:22 this allows monadic, dyadic and triadic functions 12:15:50 --- quit: Kumul (Quit: Divided by 0) 12:22:10 "up to first tree" ? 12:22:30 hi tangentstorm 12:23:06 I mean either the first, first adn second or first, second and third stack-value 12:23:14 ^and 12:27:58 oh. tree->three :) got it. :) 12:32:58 $ffff0000 $FFFF0000 seem to produce different values 12:34:21 <2> 572456960 -65536 12:34:48 (in retro) 12:35:25 hrm 12:35:37 $f -> 47 $F -> 15 12:36:17 fair enough. i will use caps :) 12:36:59 ups, was a typo 12:37:26 ok, that's a bug 12:37:59 i think $ just subtracts a fixed amount or something 12:38:08 $z -> 67 12:42:26 --- join: Kumul (~nmz@196.42.17.194) joined #retro 12:44:03 yeah, a common method for converting ASCII values to there binary representation 12:44:33 (it only works with upper-case letters) 12:54:47 Tangent: I'll fix the behavior of $ prefix with lowercase 12:54:59 hi crc 12:56:30 crc: ah, cool. :) 12:57:17 i had an overflow issue when importing subcell.rx and just happened to notice it (there was a bug in the pascal vm) 13:03:35 ok, now all needed is code for a new device 13:19:19 any new device, Mat2? 13:20:56 yes, as interface for the compiler 13:22:46 remind me where the docs i'm supposed to be editing are, Mat2 ? 13:23:02 i'll do it right now before i forget again 13:26:14 nm.. i was pulling from my copy of the vanar repo instead of yours 13:26:36 you will find the text in doc 13:26:47 not much (but working on it) 13:28:32 is it vanir or vanar? 13:28:37 vanar 13:29:38 not sure what to do with the poem :) i will leave that untouched 13:30:22 let it in 13:31:51 (it's the first poem of the Tao Te King) 13:38:26 huh.. so it is. there are a couple translations. interesting to see the resemblence but completely different interpretations 13:38:29 http://www.sacred-texts.com/tao/taote.htm 13:38:37 http://www.taoism.net/ttc/complete.htm <- i like this one 13:38:40 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 13:39:09 --- quit: Kumul (Quit: Divided by 0) 13:39:23 http://mars.superlink.net/~fsu/tao2.html 13:40:00 i guess translation is an art form :) 13:41:20 the chinese text is not really translatable 13:43:35 the tao that can be translated is not the tao :) 13:44:21 *g* 14:00:42 NAVM or AVM? 14:03:47 navm 14:14:06 I'm sleeping away, see you tomorrow 14:14:13 ciao all 14:14:25 --- quit: Mat2 (Quit: Verlassend) 14:32:43 --- join: Sgeo (~quassel@ool-ad034ea6.dyn.optonline.net) joined #retro 15:04:48 okay, Mat2, since I know you read the logs: https://raw.github.com/tangentstorm/vanar/master/doc/Documentation.asd 15:04:54 hope that helps. 15:31:03 hi all 15:33:48 hi erider 15:35:37 hi tangentstorm how are you doing 15:39:35 Mat2 why did you decide to do a AOT instead of a JIT? 15:44:48 --- quit: erider (Remote host closed the connection) 15:45:17 --- join: erider (~chatzilla@pool-173-69-159-117.bltmmd.fios.verizon.net) joined #retro 15:45:32 --- quit: erider (Changing host) 15:45:32 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 15:46:12 --- quit: erider (Client Quit) 17:15:29 --- join: docl (~luke@unaffiliated/docl) joined #retro 17:25:28 --- join: erider (~chatzilla@unaffiliated/erider) joined #retro 18:11:14 --- quit: erider (Remote host closed the connection) 18:30:27 finally playable :) http://games.tangentcode.com/mineswpr/ 18:30:39 (that is: i finally fixed the keyboard issue) 18:56:27 I just started playing with dc (the linux command line tool). Wow. I wish I had known about this sooner. 18:58:18 It's an RPN calculator that treats each character like a separate command. 18:59:49 hey docl! :) 19:00:08 hi tangentstorm :) 19:00:11 yeah, dc is cute.. it has a stack for each letter too 19:00:25 ahh, cool 19:01:53 I noticed it when I saw how someone used it to write an elliptic curve algorithm for a bash bitcoin address generator. 19:02:06 https://github.com/sowbug/bitcoin-bash-tools/blob/master/bitcoin.sh 19:02:55 i guess it's not per letter, just there are 255+ "registers" and you can treat them all as stacks 19:05:01 not sure i understand what that code is doing, but i like the idea of using dc with pipes for calculations 19:16:26 http://wiki.openssl.org/index.php/Elliptic_Curve_Cryptography 19:16:28 http://wiki.openssl.org/index.php/Manual:EC_POINT_add%283%29 19:17:11 EC_POINT_mul calculates the value generator * n + q * m and stores the result in r. The value n may be NULL in which case the result is just q * m. 19:18:28 some kind of multiplication algorithm... maybe it creates a set of points and successively multiplies them? 19:21:03 I believe the part with all the raw numbers in hex is the parameters for the curve. 19:37:17 oh that whole 10-line chunk is dc code... wow... scary :) 19:38:52 :) 20:31:53 --- quit: tangentstorm (Ping timeout: 260 seconds) 20:34:25 --- join: tangentstorm (~michal@108-218-151-22.lightspeed.rcsntx.sbcglobal.net) joined #retro 20:34:46 each of _, *, +, and - is being overloaded such that the result gets loaded into the register stack named % 20:36:47 no wait, that's backwards. l%x means % is a stack of macros that get executed after each one. I think. 21:38:26 --- join: Endeg (~Miranda@91.185.25.194) joined #retro 23:59:59 --- log: ended retro/13.08.11