00:00:00 --- log: started retro/09.11.26 00:51:06 --- quit: docl (Read error: 110 (Connection timed out)) 06:18:26 docl (for the logs): 06:18:27 : >r ` push ; immediate 06:18:27 : r> ` pop ; immediate 06:25:27 crc: I know about the byte-int thing, I modified it yesterday but did not push it to the public repo 06:26:09 I tried booting the js image and it even ran some instructions, then i got a segfault 06:26:27 but i did not have the time to look deeper into it yet 06:26:46 ok 07:44:25 --- join: docl (n=luke@67-60-48-82.cpe.cableone.net) joined #retro 08:06:26 docl: >r and r> are easy to define: 08:06:34 : >r ` push ; immediate 08:06:34 : r> ` pop ; immediate 08:19:28 cool 08:36:35 I was looking into factoring ia a bit, but the pops and pushes make it so that you have to do some things in the same word, otherwise you mess things up. 08:44:38 ia is a bit of a mess 08:54:21 http://retroforth.com/paste/?id=1928 08:55:49 oops, stack comment for save is inaccurate 09:03:06 I did it a bit differently: 09:03:06 http://retroforth.com/paste/?id=1929 09:08:46 nice! 09:09:19 should I push it to the repo? 09:09:52 sure 09:18:36 done 09:19:34 I also fixed the pastebin formatting, so it should render properly now 09:19:53 hmm, it turns whitespace off. 09:20:52 yup. my mistake 09:21:05 : nofilter ( - ) whitespace dup @ ws ! off later ws @ whitespace ! ; 09:21:09 should work 09:22:27 works :) 09:22:42 --- join: retro-commit (n=retro-co@sh1-ext.rs.github.com) joined #retro 09:22:42 retro10: 3Charles Childers 07master0 SHA1-7f302b5 09:22:42 oops, "ia" wasnt preserving the "whitespace" setting; fixed now 09:22:42 http://bit.ly/53NFNt 09:22:43 --- part: retro-commit left #retro 09:35:50 --- join: retro-commit (n=retro-co@207.97.227.253) joined #retro 09:35:50 retro10: 3Charles Childers 07master0 SHA1-75e2d4f 09:35:50 update initial image and pristine image 09:35:50 http://bit.ly/8P2z33 09:35:51 retro10: 3Charles Childers 07master0 SHA1-7cb25f9 09:35:53 minor updates to Makefile 09:35:55 http://bit.ly/800VuJ 09:35:57 retro10: 3Charles Childers 07master0 SHA1-76b4e66 09:35:59 minor formatting fixes 09:36:05 http://bit.ly/6dNYej 09:36:05 retro10: 3Charles Childers 07master0 SHA1-7526e07 09:36:05 add copyright header blocks 09:36:07 http://bit.ly/6AIlNY 09:36:09 --- part: retro-commit left #retro 10:15:57 crc: I pushed some changes 10:16:28 it runs the javascript image, but segfaults because sp<0 10:16:46 (because of a push) 10:17:05 do you have any very simple image for testing purposes? 10:37:59 no :( 10:38:06 but I'll build one tonight 10:38:14 yiyus: I can't get it to compile 10:38:46 n/m, the pull didn't work 10:38:46 ngaro.go or main.go? 10:39:03 ok 10:40:46 if you just want to have a look, i have added the output as a comment to main.go 10:54:47 the stack is underflowed for some reason. 10:54:59 temporary fix to let it proceed: 10:54:59 if (sp < 0) 10:54:59 { 10:54:59 sp = 0; 10:54:59 } 10:55:29 insert after the close of the switch statement and the "ng.tos = data[sp]" line (around line 236) 10:55:32 yeah, i fyou do that it does not segfault 10:55:51 but it does not work well anyway 10:56:07 I'll take a closer look tonight 10:56:34 in the meanwhile, i will try to guess how to package it properly 10:56:40 (currently I have to leave for a few hours for thanksgiving dinner) 10:56:41 ok 10:57:01 of course, have fun, happy thanksgiving 11:49:05 --- quit: docl (Read error: 110 (Connection timed out)) 12:20:04 ok, i added the check for sp<0 and the makefile builds an exec file now 12:20:27 i also added an Off channel, to let the main program know when a core has finished 12:43:55 --- join: docl (i=4a24d32f@gateway/web/freenode/x-ttpvwwajisjdgcof) joined #retro 13:55:03 --- quit: docl (Ping timeout: 180 seconds) 16:16:58 --- quit: virl (Remote closed the connection) 16:23:51 --- join: docl (n=luke@74-36-1-108.dr01.hmdl.id.frontiernet.net) joined #retro 17:08:25 * crc is back 17:15:14 hello :) 17:15:26 yiyus: small image ("hello, world") at http://retroforth.org/helloImage 17:19:45 --- quit: docl (Remote closed the connection) 17:22:01 --- join: docl (n=luke@74-36-1-108.dr01.hmdl.id.frontiernet.net) joined #retro 17:37:51 {{ 17:38:00 {{ 17:38:12 http://retroforth.com/paste/?id=1930 17:39:05 I like the {{ }} words. it seems more intuitive than here word is ] 17:46:23 { } is useful at times, but {{ }} is way more flexible 17:47:03 * crc is considering dropping { } and using {{ }} exclusively in the near future. 17:51:25 for readability, maybe something like : pub: ` here ` ] ; 17:54:26 or : vec: ` here ` ] is ; 17:56:32 : vec: pub: is ; 17:57:12 : expose: here is ] ; 17:57:31 oh yeah 17:57:59 should work, since none of the words are macros or compile-only 17:59:04 yiyus: a few fixes: 17:59:07 - addr[rsp] = ip + 1; 17:59:07 + addr[rsp] = ip; 17:59:14 in the case handler for Call 17:59:20 not sure why I thought it needed the backticks. 17:59:37 yiyus: and the I/O port for output needs to decrement the stack pointer 17:59:55 I'm not sure where the best place to do this is, since sp isn't a global or part of the ng structure 18:00:15 yiyus: but if done, it will run the "hello, world" app to completion 18:00:41 would it be possible to create an edit mode, possibly with an eval function that takes the visible line as input? 18:01:03 maybe, but not yet in a portable manner 18:02:38 it'd be possible to have a word that parses to end of line, move the tib somewhere safe, and use a custom evaluator on the new buffer 18:03:46 hmm. there is an output port for ngaro. is the display stored in a buffer? 18:04:29 not in any current implementation 18:04:46 (except for the javascript port, but the buffer there isn't accessible to the image) 18:14:59 yiyus: I uploaded a patch covering both to http://retroforth.org/go.patch 18:15:45 err, http://retroforth.org/go.diff 18:21:12 docl: my minimal target interface was a serial port based terminal (I use one at work sometimes) 18:24:32 cool 18:29:52 http://retroforth.org/go2.diff - same as above, but hacked to display ascii output 18:46:37 * crc is going to bed a bit early; full day of work tomorrow ;( 18:49:36 'night 19:34:07 --- join: docl_ (n=luke@74-36-1-108.dr01.hmdl.id.frontiernet.net) joined #retro 19:42:06 --- quit: docl (farmer.freenode.net irc.freenode.net) 19:42:58 --- join: docl (n=luke@74-36-1-108.dr01.hmdl.id.frontiernet.net) joined #retro 19:47:25 --- quit: docl (Read error: 110 (Connection timed out)) 19:50:00 --- nick: docl_ -> docl 21:06:21 --- quit: probonono (Remote closed the connection) 21:11:47 --- quit: docl (Read error: 110 (Connection timed out)) 21:15:04 --- join: docl (n=luke@67-60-48-82.cpe.cableone.net) joined #retro 21:34:31 --- join: probonono (n=User@unaffiliated/probonono) joined #retro 21:55:06 --- join: virl (n=virl__@62.178.85.149) joined #retro 23:25:04 --- quit: virl (Remote closed the connection) 23:59:59 --- log: ended retro/09.11.26