00:00:00 --- log: started forth/05.01.15 00:06:46 --- join: Sonarman (~snofs@adsl-63-196-0-231.dsl.snfc21.pacbell.net) joined #forth 00:09:34 --- quit: Herkamire ("bed") 00:24:57 --- quit: Sonarman ("leaving") 00:47:44 --- nick: warpzero_ -> warpzero 01:21:45 --- join: qFox (C00K13S@82-169-140-229-mx.xdsl.tiscali.nl) joined #forth 01:36:41 Hi 01:51:41 hey 01:52:41 :) 01:54:07 wazup 01:54:13 how have you been 01:55:53 Not too bad 02:01:48 and how many forths have you given life to the past few weeks? 02:01:48 :p 02:03:12 Don't tell anyone, but... none. :( 02:03:18 omg? 02:03:27 go build kuF then ;) 02:04:32 Yeah RIGHT. 02:04:52 uhu 02:07:16 ;-D 02:26:25 Hmm... The Voyager probes are still working. That's high-quality stuff. 03:12:48 the jupiter moon spacecraft thing? 03:13:44 They passed by Jupiter in 1979. 03:13:51 well... oh 03:13:52 :) 03:13:58 i'l blame luck ;) 03:14:19 >:) 03:16:57 Anyway, it would be fun to play an adventre game using one of their on-board computers. 03:17:25 Would take about 24 hours to get a message there and back 03:17:46 .... yeah fun 03:17:48 :P 03:18:38 <3 03:35:01 --- join: Topaz (~top@sown-85.ecs.soton.ac.uk) joined #forth 03:36:11 Hi Topaz 03:36:37 'lo 03:58:58 --- quit: Frek ("Client exiting") 04:25:58 --- join: samc_ (~sam@203-114-131-219.inspire.net.nz) joined #forth 04:28:19 Hi, Sam 04:50:05 --- quit: Topaz (Read error: 113 (No route to host)) 04:50:33 --- join: Topaz (~top@sown-86.ecs.soton.ac.uk) joined #forth 05:08:26 --- join: aum (~aum@60.234.138.239) joined #forth 05:13:35 Hi 05:13:53 hi 05:17:09 doing my first serious assembler hacking in many years, feels so weird 05:17:49 --- join: T0paz (~top@sown-85.ecs.soton.ac.uk) joined #forth 05:19:28 --- quit: Topaz (Read error: 113 (No route to host)) 05:30:56 aum: Congratulations. :) 05:31:12 heh 05:31:28 I have actually mostly been hacking in assembly language. 05:31:43 * aum was hacking assembler from 1976 to 1982, but got spoiled by high-level languages 05:33:53 --- quit: T0paz (Read error: 113 (No route to host)) 05:44:36 --- join: T0paz (~top@sown-86.ecs.soton.ac.uk) joined #forth 06:00:28 --- quit: T0paz (Read error: 60 (Operation timed out)) 06:06:29 --- join: T0paz (~top@sown-85.ecs.soton.ac.uk) joined #forth 07:24:19 --- quit: T0paz (Read error: 113 (No route to host)) 07:25:15 --- quit: Jim7J1AJH ("leaving") 08:34:22 --- join: Herkamire (~jason@h000094d30ba2.ne.client2.attbi.com) joined #forth 08:36:20 --- join: saon (1000@c-24-129-90-197.se.client2.attbi.com) joined #forth 08:37:30 Hi and by 08:37:31 E 08:38:28 --- quit: robert ("bbl") 09:12:58 --- quit: samc_ (Read error: 60 (Operation timed out)) 09:28:21 --- join: Topaz (~top@sown-86.ecs.soton.ac.uk) joined #forth 09:47:53 --- quit: Topaz (Read error: 113 (No route to host)) 09:48:35 --- join: tathi (~josh@pcp01375108pcs.milfrd01.pa.comcast.net) joined #forth 10:13:07 --- join: Topaz (~top@host81-154-197-67.range81-154.btcentralplus.com) joined #forth 10:19:19 --- join: T0paz (~top@cerberus.saywell.net) joined #forth 10:44:07 --- quit: Topaz (Connection timed out) 11:06:14 --- join: zoly (~l@ppp-62-245-160-103.mnet-online.de) joined #forth 11:06:22 g'day 11:13:29 --- join: mavros (stelios@sc395.trin.cam.ac.uk) joined #forth 11:16:02 --- part: mavros left #forth 11:17:00 --- quit: tathi ("leaving") 11:17:01 --- join: Sonarman (~snofs@ppp-66-124-254-162.dsl.snfc21.pacbell.net) joined #forth 11:17:56 crc, you're pretty quick updating forthfreak.net 11:18:09 :) 11:18:28 i have used your input as base for progress report 11:18:34 * crc will be taking a nap in a few minutes; I'm rather tired 11:23:17 what kind of progress report> 11:23:18 ? 11:23:32 telling what works 11:23:42 i.e. what has been implemented successfully 11:23:53 ahh, ok 11:25:16 t'is going smoothly now 11:38:13 * crc plays with a nice forth-in-javascript 11:38:25 (hopefully soon to be publically released) 11:38:36 t'is public already 11:38:43 not yours :) 11:38:47 ah 11:38:55 i'll compete 11:39:37 This one has a terminal emulator for truely interactive use :) 11:40:23 ah. 11:40:39 that is the forth you referred to on forthfreak ? 11:40:43 yes 11:41:12 It has a working compiler, interpreter, words, and terminal emulator 11:41:14 ok, i've restored the page to your version 11:41:17 :) 11:41:34 now you only have to wait till it si public 11:41:41 Yours seems to have gone beyond my JSForth experiment already 11:41:59 zoly: the public release should come by the end of the month 11:42:04 definitely 11:42:34 I'm just waiting for the developer to finish his some cleanups before I link to it on the wiki 11:42:36 i'll beat them to it :) 11:42:42 zoly: go ahead 11:42:48 competition is good :) 11:43:02 i'd have expected to be able to interactively compile hi-level by monday 11:43:18 with a terminal? 11:43:24 using the web browser 11:43:27 and a form 11:43:38 Not exactly the same though. 11:43:57 my target audience will be using a web browser 11:44:07 this runs in a web browser 11:44:11 not interactive yet? 11:44:22 It has a terminal emulator that runs inside the web page 11:44:34 Very cool if slightly sluggish 11:44:52 where is it? 11:44:58 http://forthfreak.net/JS-Forth.html ? 11:45:22 Herkamire: no strings yet 11:45:46 that means, no create, no parametrized find yet 11:45:55 even though find works 11:46:24 will probably do the same sort of pack/unpack like in bashforth 11:46:45 cool 11:46:55 converting forth strings (1 char per memory ) into host lang string 11:46:59 and vice versa 11:47:10 --- quit: saon ("Leaving") 11:47:22 but i found runtime words more important at this point 11:47:37 dovar, doconst, branch, 0branch and the like 11:47:40 those work 11:48:02 string packing/unpacking is so hi-level 11:48:08 boring :) 11:48:45 the list of words you see comes actually from executing the word "words" 11:49:15 i.e. when i add a primitive, colon word, constant, variable, they show up there right away 11:49:39 is output of the life vocabulary 11:50:34 cool stuff. works here 11:50:49 top and bottom zeroes are stack depths, to catch stack inbalance in any of the words in there 11:50:57 the 106 is "here" 11:51:15 other numbers are test output, verifying proper operation of stuff 11:51:38 there's some hi-level words executed in there too 11:51:41 nested 11:52:09 replace .html against .js for viewing the source 11:53:13 i definitely do need to test with what js versions it will run, and with which one it won't 11:53:30 backspack doesn't erase the char on the screen for me 11:53:31 cause i didn't bother about version differences at all at this point 11:55:00 well, I've using firefox 1.0 on ppc linux if that helps 12:16:27 --- join: saon (1000@c-24-129-90-197.se.client2.attbi.com) joined #forth 12:49:13 --- part: zoly left #forth 13:43:08 --- join: bbls (~bbls@80.97.121.133) joined #forth 13:48:07 --- quit: bbls () 14:37:26 --- part: fridge left #forth 15:35:15 Hi all 15:40:21 hi crc 15:40:33 rj has me busy getting started with linux 15:44:02 :) 15:44:18 You have it running now? 15:45:10 --- join: Sonarman_ (~snofs@adsl-63-196-0-136.dsl.snfc21.pacbell.net) joined #forth 15:48:26 --- quit: Sonarman (Read error: 60 (Operation timed out)) 15:50:42 --- quit: T0paz (Read error: 113 (No route to host)) 15:54:57 is zoly the same guy that made bashforth? 16:00:19 --- quit: I440r ("Leaving") 16:01:20 I think that Zoly is Speuler 16:01:26 Not 100% sure though 16:01:48 At least, they both have access to the forthfreak.net server, and work on the same projects 16:02:08 iirc bashforth was Speuler creation 16:02:22 yes it was 16:02:42 And Speuler wanted a forth-in-javascript 16:03:10 * crc hopes that Jeff approves the sharing of his jsforth soon... 16:05:41 I thought he said it was public already 16:05:47 It's semi-public 16:06:03 He doesn't want it linked to from retroforth.org, wikipedia, or forthfreak.net yet 16:16:33 --- join: TheBlueWizard (TheBlueWiz@modem-138.nyc-tc03a.FCC.NET) joined #forth 16:18:48 --- join: I440r (~mark4@216-110-82-59.gen.twtelecom.net) joined #forth 16:18:58 nornin folks 16:19:04 mornin, even 16:19:15 Hi aum 16:19:35 yo crc 16:19:53 how goes in forth land of? 16:19:58 Not too bad 16:20:09 discussion of retroforth 8 has started on the mailing list now 16:20:31 And I'm well into my planned updates already :) 16:20:39 i hear that word a lot - what's retroforth's Main Claims To Fame? 16:21:14 small, easy to learn Forth with a lot of flexibility, frequent releases, and an active community of users 16:21:30 cool 16:21:31 Not to mention a few real-world apps written using it :) 16:21:34 x86-only? 16:21:38 yes 16:21:47 SeaForth was/is planning a PPC version 16:22:02 what host OSs? or does it have its own OS? 16:22:04 And I'm going to start on an ARM version once I get 8.0 to a stable state 16:22:14 ARM - very smart move 16:22:22 embedded Forth heaven! 16:22:52 It is its own OS, and can also be used under Linux, FreeBSD, Windows, BeOS, SCO OpenServer, and other OSes with the optional libc support :) 16:23:01 especially if it can support the Atmel LPC ARM chips with on-chip RAM/EEPROM 16:23:37 I'm still looking at options in the ARM field 16:23:41 i'm handcrafting a Forth for PIC 18F microcontrollers 16:23:54 A PalmOS version seems likely 16:24:00 aum: I remember you mentioning that 16:24:17 I have yet to try any PIC coding 16:24:32 --- quit: I440r ("Leaving") 16:24:48 well, i was hacking a forth that runs bytecodes resident in off-chip EEPROM, but it was way too slow - typically 0.1mips 16:24:56 ugh 16:25:15 clock speed limitation in serial EEPROM chip 16:25:44 was writing it for PIC16F chips, which have Architecture From Hell 16:26:07 major relief to be coding for PIC18F, which has a far saner, much more forth-friendly architecture 16:26:22 single machine instructions to push/pop to/from either stack 16:26:50 what's retroforth's threading model? 16:26:57 stc 16:27:11 ahh, same as what I'm using 16:27:23 It's the cleanest one IMO 16:27:30 stc, as in a jump table of subroutines, referenced in code via tokens? 16:27:51 No, stc as in "call foo" "call bar" ... 16:27:59 ah, ok 16:28:00 Good old native code 16:28:24 (with a few inlined words like the various forms of if) 16:28:51 i'm going the code squeeze route, where words declared as 'primitive foo' get added to a jump table, and refs to 'foo' in code compile to a 1-byte opcode 16:29:26 that makes sense on a more limited arch though 16:29:54 i could have gone native code, but absolute jumps/calls cost 4 bytes 16:30:10 so primitive calls now cost 1 byte, and native func calls cost 3 bytes 16:30:19 :) 16:30:42 i expect to achieve 4x the code density, at a cost of 1/10 the speed 16:31:11 there's always tradeoffs 16:31:26 total rom=32k, vm/primitives overhead=~2k 16:32:02 My compiler/interpreter is 2k, another 2-4k for the additional primitives and core words 16:32:17 smokin' :) 16:32:47 i'd go a /real/ forth, except that writing to rom is awkward - must erase a whole 64-byte block, then reprogram it 16:32:53 yeah 16:32:59 and that wears out roms quickly :( 16:33:06 sure does 16:33:21 i can't stand the idea of roms with limited endurance 16:33:35 one of these days, they'll come up with DNA-based ROMs with unlimited endurance 16:33:47 * crc wants magnetic memory... 16:34:23 shame s[d]ram is so expensive compared to flash 16:34:44 yeah 16:35:59 i think retroforth's will boom once you get it onto embeddable chips like the ARM 16:36:11 retroforth's popularity, i mean 16:37:58 That'd be nice 16:38:06 It has a good following on x86 already 16:38:21 An ARM version (and PPC) would make it more appealing 16:38:36 there's hordes of embedded h4x045 waiting for deliverance from Java Hell 16:38:53 and deliverance from C Purgatory :P 16:39:41 :) 16:40:11 My first step would be a compiler that generated standalone code for ARM chips 16:40:26 i've been switching from C to Assembler, feels like switching from $7/bottle wine to $200/bottle vintage 16:40:52 standalone compiler for ARM chips - good start 16:41:17 Once I have that working, the rest should be easy enough I hope 16:41:19 imho, you'll really need to support the Atmel 'everything-on-the-chip' ARMs 16:41:29 URL? 16:41:35 www.atmel.com 16:41:50 their products link, then click on the arm-based link 16:42:29 good thing about the atmel ARMs is they need no support circuitry, apart from crystal and minimal interfacing logic 16:43:28 The "AT91 Thumb" link? 16:43:35 that's the one 16:43:38 ok 16:44:24 someone could make a fortune selling an ARM chip adapter board that plugs into breadboard 16:45:04 hmm 16:48:02 i got a cruel shock the other day - took my PIC-based prototype to a manufacturer to get 10 initial units built - min cost $4k, with all the setup costs and ISOxxxx bullshit 16:50:44 ick 16:50:54 4k for 10 units :( 16:51:27 gonna go to a 'Joe's Backyard PCB Manufacture, Inc', get the boards for $200 and build 'em myself 17:06:13 :) 17:14:23 shit, 40 bytes to implement .s 17:14:37 ick 17:15:51 well, i am implementing a 16-bit forth atop an 8-bit arch 17:16:14 ahh 17:16:38 would cost 80-120 bytes on a pic16f 17:17:57 --- join: solar_angel (~jenni@MTL-ppp-158462.qc.sympatico.ca) joined #forth 17:18:06 yo angel 17:18:11 Hi solar_angel 17:18:33 hello 17:20:06 hiya solar_angel 17:20:56 hiya 17:29:14 --- join: froop (~wossname@rn-v1w5a06.uwaterloo.ca) joined #forth 17:30:45 %*@#$ @+$%#&$ !!! 17:30:56 'make' thinks '.f' forth sources are fortran 17:31:11 *lol* nasty. 17:31:43 tell it otherwise :) 17:32:21 guess i'll need to combine compilation/assembly into one phase 17:32:35 my forth compiles .f to relocatable .asm, then assembles 17:32:52 how is that a problem? 17:33:02 %.o : %.asm 17:33:06 gpasm -c $< 17:33:13 %.asm : %.f 17:33:18 ./picfc.py $< 17:33:28 %.hex : %.o drivers.a 17:33:32 gplink... 17:33:39 when i do a 'make test7.hex' 17:34:10 it misunderstands the build chain, and goes straight to 'fcc -c -o test7.o test7.f' 17:34:23 hmm 17:34:38 you need to tell make not to use its implicit rule for fortran 17:34:41 make is a tricky beast 17:35:35 * aum momentarily considers using scons 17:36:59 yeah...make is indeed tricky at times 17:37:54 woot, $(<:.f=.asm) worked 17:44:53 yikes, .s outputs $1234 as 'JIHG' - not exactly what I'm after 17:45:24 hmm 17:45:55 My .s is sort of strange. I don't display the entire stack, just the top 10 elements :) 17:45:58 --- join: Purdu3 (~Purdu3@12-222-128-22.client.insightBB.com) joined #forth 17:46:33 quick poll - is it lame to recognise '\' escapes like '\n' in ." strings? 17:46:42 Yes 17:47:06 any reason, apart from the fact it's non-standard? 17:47:09 --- join: ChanServ (ChanServ@services.) joined #forth 17:47:09 --- mode: irc.freenode.net set +o ChanServ 17:47:09 --- mode: ChanServ set +l 83 17:47:24 it makes the string parsing more complex 17:47:47 my compiler is written in python, so parsing escapes is just a method call 17:48:45 then go for it 17:49:49 makes life way easier 17:50:00 aum: only one particular escape? or are you planning on having more escapes? 17:50:27 python strings have a method '.decode()' 17:50:49 so to interpret all the escape sequences in string 's', one just does 's.decode("string-escape")' 17:51:01 supports all the C-style escape syntax 17:51:14 --- join: I440r (mark4@216-110-82-59.gen.twtelecom.net) joined #forth 17:51:27 * aum can't even bear to imagine the task of coding that in forth 17:51:39 hiya I440r 17:51:51 :) 17:51:51 oh come now, it's not that bad. 17:52:24 deep forth hacking is hell on the synapses 17:52:28 aum: I see...I personally don't like the \" thing; it makes parsing more difficult to code up. I'd use \q instead. My 2 cents 17:52:35 I do deep hacking all the time... 17:52:56 i'm just spoiled by c, python etc 17:53:07 i like forth for embedded stuff though 17:53:59 I see :) 17:54:15 my favorite script language: postscript. 17:54:45 solar_angel: have you written any apps in postscript? 17:55:00 http://caladan.nanosoft.ca/c4/ccorner/5.php 17:55:04 the reason why I don't like \" is that when I want to scan the C code for literal strings, \" bites the ass...(oh I did get to deal with that, but, still...ugh) 17:55:22 that answer your question? :P 17:56:03 yep! :) 17:56:25 any oo in ps? 17:56:34 depends what you mean... 17:57:06 sortof. 17:57:18 postscript is a great language for people who love forth though... 17:57:34 postscript is across between forth and a script language 17:57:47 what 'backend' facilities does ps support, apart from visual rendering? 17:57:58 well that depends entirely on your interpreter 17:58:25 some are graphical-only... some are more flexible 17:58:35 basically, it all depends on what external interfaces the interpreter provides 17:58:50 do ps interps have the same low-footprint capability as forth interps 17:58:51 ? 17:59:11 Not in my experience 18:00:03 depends... 18:00:09 they can. 18:00:20 they were originally designed to be run on 8-bit micros running inside printers :P 18:00:44 now, something like ghostscript has a lot of extra crap added, like printer drivers for inkjet printers, software renderers, and the like 18:01:05 a stripped-down postscript interpreter targetted to scripting instead of graphics could certainly be quite small 18:01:31 how different would it be from Forth if it lacked graphics? 18:02:05 hi ppl 18:02:08 brb :) 18:02:13 * TheBlueWizard remembers the days when Postscript printers are soooo slow (he used one while in college...around '89) 18:02:21 Hi I440r 18:02:38 *were 18:02:41 crc - well, postscript is designed with efficient handling of strings, lists, and dictionaries. 18:02:53 in some ways, it's much higher level 18:02:56 Ok 18:03:14 * crc should take a look at it someday 18:03:19 i'm thinking of making a program called 'pssh' for my OS, though 18:03:24 yep, the postscript shell :P 18:04:42 :) 18:13:05 fun hint #413a: it often helps to put 'return' at the end of code words 18:13:40 :) 18:13:53 Unless you want fallthrough :) 18:14:18 oh yes 18:14:52 --- join: mavros (stelios@sc395.trin.cam.ac.uk) joined #forth 18:14:57 forth is a good lang for cosmetic surgery - 'nip', 'tuck'... 18:15:03 heh 18:15:06 NIP AND TUCK is valid synta 18:15:08 +x 18:19:23 goodnight 18:19:30 night crc 18:19:32 --- quit: qFox ("this quit is sponsored by somebody!") 18:24:40 nice point to reach - got ." cr emit . .s, word calls, code calls and basic loops working - end of debugging hell now 18:25:28 writing a forth from scratch is an educational experience - it should be mandatory for all CS101 students 18:25:47 heh 18:25:59 yep, writing a forth is an experience 18:26:14 i've done it a half-dozen times, not counting the "almost-forths" i've written (another half-dozen times) 18:26:37 :) 18:26:45 do you thing teaching open firmware would fit with a computer organization-architecture course? 18:26:47 writing the first one is hardest - thereafter one can gut code from interps/compilers one's already written 18:26:52 or am i dumb? 18:26:54 it is almost a religious (or spiritual) experience :) 18:27:30 * aum wonders if the universe was coded in forth 18:30:03 --- part: mavros left #forth 18:30:28 if it is, it must be coded in some incredibly advanced form of Forth...multidimensional parallelism, infinitely many local calculations, 18:30:32 .... 18:32:57 --- quit: solar_angel ("vanishing") 18:39:28 hmm, to implement roll, or not to implement roll 18:48:01 fsck it, i'll implement locals instead 18:50:03 crc, still planning the RetroF PPC indeed. I'm still learning the PPC asm 19:01:21 --- join: samc (~sam@203-114-131-106.inspire.net.nz) joined #forth 19:33:11 --- join: tathi (~josh@pcp01375108pcs.milfrd01.pa.comcast.net) joined #forth 19:52:01 --- part: TheBlueWizard left #forth 19:53:28 --- quit: tathi ("bed") 20:26:23 --- join: asymptote (~weldon@68.48.8.92) joined #forth 20:36:21 --- part: samc left #forth 20:52:31 --- quit: asymptote ("Cthulhu in 2008: why choose a *lesser* evil?") 21:08:20 --- join: DigDug (~digdug@zen.rupture.net) joined #forth 21:12:25 --- quit: froop ("reboot") 21:15:07 --- join: froop (~wossname@rn-v1w5a06.uwaterloo.ca) joined #forth 21:23:29 --- part: DigDug left #forth 22:32:25 --- quit: aum () 23:08:58 --- quit: Herkamire ("bed") 23:37:04 --- quit: Sonarman_ (Read error: 110 (Connection timed out)) 23:56:12 --- join: rastm2 (~rastm2@adsl-69-149-61-49.dsl.rcsntx.swbell.net) joined #forth 23:59:59 --- log: ended forth/05.01.15