< 1135901207 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :and here i was pronouncing it "ay" so terr ick < 1135903956 0 :graue!unknown@unknown.invalid QUIT :"Leaving" < 1135906203 0 :jix!unknown@unknown.invalid QUIT :"Bitte waehlen Sie eine Beerdigungnachricht" < 1135912649 0 :calamari!unknown@unknown.invalid QUIT :"Leaving" < 1135913371 0 :sekhmet!unknown@unknown.invalid QUIT :"omg more disk!" < 1135915192 0 :calamari!n=calamari@ip68-105-130-108.tc.ph.cox.net JOIN :#esoteric < 1135917905 0 :lament!unknown@unknown.invalid PRIVMSG #esoteric :cpressey: did you kick ass in 311? < 1135918311 0 :Sgep!unknown@unknown.invalid QUIT :Connection reset by peer < 1135921016 0 :sekhmet!n=pez@ppp-70-226-158-181.dsl.mdsnwi.ameritech.net JOIN :#esoteric < 1135922857 0 :lirthy!n=klutzy@218.150.221.128 JOIN :#esoteric < 1135925525 0 :klutzy!i=klutzy@211.229.247.37 JOIN :#esoteric < 1135925558 0 :lirthy!unknown@unknown.invalid QUIT :Connection timed out < 1135925565 0 :klutzy!unknown@unknown.invalid NICK :lirthy < 1135929368 0 :calamari!unknown@unknown.invalid QUIT :"Leaving" < 1135929599 0 :clog!unknown@unknown.invalid QUIT :ended < 1135929600 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1135931397 0 :CXI!unknown@unknown.invalid QUIT :"christmas hardware upgrade time... please pray for me" < 1135932369 0 :CXI!n=Sanity@dialup-249.104.221.203.acc51-kent-syd.comindico.com.au JOIN :#esoteric < 1135932520 0 :calamari!n=calamari@ip68-105-130-108.tc.ph.cox.net JOIN :#esoteric < 1135932526 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hi < 1135933084 0 :calamari!unknown@unknown.invalid QUIT :"Leaving" < 1135937327 0 :J|x!i=jix@F3070.f.strato-dslnet.de JOIN :#esoteric < 1135940283 0 :sp3tt!n=sp3tt@80.244.80.162 JOIN :#esoteric < 1135940303 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I'm implementing brainfuck. < 1135940307 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :On my calculator. < 1135940387 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Though I have no idea how to implement loops. < 1135940482 0 :calamari!n=calamari@ip68-105-130-108.tc.ph.cox.net JOIN :#esoteric < 1135940550 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Because just skipping to the next ] could cause bad stuff. < 1135940598 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :+++[>++[-]] Skipping to the next right bracket would literally result in a brainfuck. < 1135940649 0 :Gs30ng!unknown@unknown.invalid PRIVMSG #esoteric :ah, corresponding parenthesis... that's a little bit tricky, right < 1135940672 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Mhm... < 1135940701 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I don't believe I have access to regexps. < 1135940702 0 :J|x!unknown@unknown.invalid PRIVMSG #esoteric :if moving backwords use a counter < 1135940720 0 :J|x!unknown@unknown.invalid PRIVMSG #esoteric :increase it for every ] and decrease it for every [ < 1135940727 0 :J|x!unknown@unknown.invalid PRIVMSG #esoteric :if it goes == 0 youre done < 1135940734 0 :J|x!unknown@unknown.invalid NICK :jix < 1135940759 0 :jix!unknown@unknown.invalid PRIVMSG #esoteric :and regexps won't help as matching parentheses is a context free problem not a regular one < 1135940768 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric ::| < 1135940781 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I'm moving forwards in the text... I'd paste the program, but the usb drivers are messing with me. < 1135940791 0 :jix!unknown@unknown.invalid PRIVMSG #esoteric :(even though some regexp engines support some context free grammers) < 1135940814 0 :jix!unknown@unknown.invalid PRIVMSG #esoteric :if you're moving forwards do the same thing but swap [ and ] < 1135940827 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Ok... < 1135940876 0 :jix!unknown@unknown.invalid PRIVMSG #esoteric :what is your target system (calculator)? < 1135940878 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I have the text in a variable X, stack M, stack pointer P, program pointer c and the current token l. < 1135940882 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :HP 48gII. < 1135940918 0 :jix!unknown@unknown.invalid PRIVMSG #esoteric :if it was a ti-92(+)/89/v200 i'd recommand converting the bf code into basic code < 1135940931 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I don't want a TI-calculator. < 1135940933 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :No RPN :( < 1135940955 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I've gotten so used to RPN I can't use algebraic. < 1135941349 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :<--- hp48gx < 1135941460 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Are the usb drivers messing with you too? < 1135941484 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :usb drivers? < 1135941500 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :mine connects via com port < 1135941535 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :I've implemented bf on the hp48gx, in case youre interested in seeing it < 1135941567 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric ::( < 1135941593 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Ah... I looked at some interpreter, now I understand how to do it. < 1135941602 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :http://esoteric.sange.fi/brainfuck/impl/interp/calculator/hp48bf.txt < 1135941647 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :what I'd like to see is bf for the hp's cpu assembly language < 1135941660 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :that would be great.. 64 bit power! :) < 1135941696 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :calamari: they still use saturn cpu? < 1135941705 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :my crappy code is userrpl.. so it's slow < 1135941724 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :lindi-: dunno .. but the processor in mine hasn't changed =D < 1135941736 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :mine is a saturn < 1135941751 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :calamari: my hp71 used saturn too < 1135941777 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :wonder what this 41cx uses < 1135941784 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :When I hit a [, I set a var p1 to the current position, and a var p2 to 1. Then I continue looping through the text (in a separate loop), increasing p2 each time I hit a [. When I hit ] I decrease it. When p2 is 1, I store the new position in the text p3 and copy the substring p1-p3 and call the interpreter function on it. < 1135941789 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :That should do it. < 1135941869 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Programming with rpn <3 < 1135941932 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :too bad they never made linux for the hp48 :) hehe < 1135941981 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :calamari: i didn't have any assembler tools for hp71 so i wrote a very ugly assembler in basic, http://iki.fi/lindi/HP71AS reads assembler source and creates an executable < 1135941985 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I doubt it would boot, not enough memory. < 1135942007 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :sp3tt: I'm just being silly :) the kernel wouldn't even fit in ram :) < 1135942031 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric ::| < 1135942031 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :not to mention hp71 which had 16K of ram < 1135942049 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :hp48 has at least 256K? < 1135942060 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Mine has 128 iirc. < 1135942060 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :128k < 1135942251 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hmm.. how much memory does my slide rule have? < 1135942270 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :slide rule? < 1135942316 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :http://en.wikipedia.org/wiki/Slide_rule < 1135942344 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I'd say two bytes or so. < 1135942443 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :well, there are infinitely many positions of the hairline and slide.. so I dunno :) < 1135942444 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :ah, i only know the finnish term :) < 1135942466 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :what is the finnish term? < 1135942479 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :'laskutikku' < 1135942596 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :cool.. this dictionary had it http://efe.scape.net/index.php < 1135942641 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :sounds proprietary :) < 1135942708 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :salassa pidettävä < 1135942722 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :if l == "[" then{ STO('b',1); c++; DO{ STO('l',SUB(X,c,c)); IF l=="[" then { b++ } IF l=="]" then{b--} }until b==0} < 1135942730 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :That oughta do it... < 1135942743 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :what does that say? supposed to be "esoteric" :) < 1135942753 0 :lindi-!unknown@unknown.invalid PRIVMSG #esoteric :more like "one that puts the customer at the mercy of a vendor" < 1135942760 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :lol < 1135942775 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :ACTION knows one finnish word. < 1135942776 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Vittu. < 1135942832 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :acording to this one salassa=secretly < 1135942857 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :so at least that word seems to make sense < 1135942975 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :how about salakielenkäyttö < 1135943025 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric ::| Infinite loop. < 1135943091 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :okay.. now to see what damage the reinstall caused < 1135943100 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :brb.. hopefully :) < 1135943119 0 :calamari!unknown@unknown.invalid QUIT :"Leaving" < 1135943162 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Note to self: Increase counter when doing loops. < 1135943228 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric ::D It works... now to create a loop to execute it... recursion is the shit. < 1135943291 0 :calamari!n=calamari@ip68-105-130-108.tc.ph.cox.net JOIN :#esoteric < 1135943302 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :hrm.. still no clock applet < 1135943312 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :too tired to care < 1135943318 0 :calamari!unknown@unknown.invalid PRIVMSG #esoteric :bbl :) < 1135943320 0 :calamari!unknown@unknown.invalid QUIT :Client Quit < 1135943367 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :The only problem is... will the array change... < 1135945379 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Ok, now I've changed the program to take the array as an argument... < 1135945596 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :It'll have to return an array {output,array}... < 1135945600 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :But first, lunch! < 1135945981 0 :lirthy!unknown@unknown.invalid QUIT :Read error: 110 (Connection timed out) < 1135947501 0 :lirthy!i=klutzy@211.224.248.195 JOIN :#esoteric < 1135955216 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :GAH! This is fucking killing me. < 1135955664 0 :Arrogant!i=Arrogant@38.orlando-09rh15-16rt.fl.dial-access.att.net JOIN :#esoteric < 1135958882 0 :Arrogant!unknown@unknown.invalid QUIT :"I AM QUIT HAVE A NICE DAY" < 1135962468 0 :Gs30ng!unknown@unknown.invalid QUIT : < 1135971644 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :lament: yes < 1135971727 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :by the way, here's a scary thought: < 1135971740 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :ten years ago: Windows 95 < 1135971749 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :twenty years ago: the first Amiga < 1135971761 0 :cpressey!unknown@unknown.invalid PRIVMSG #esoteric :thirty years ago: the Altair < 1135972749 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :I finished writing my interpreter. < 1135972764 0 :sp3tt!unknown@unknown.invalid PRIVMSG #esoteric :Brainfuck on the HP 48gII: http://sp3tt.i.ext.as/bf.txt < 1135974670 0 :calamari!n=calamari@ip68-105-130-108.tc.ph.cox.net JOIN :#esoteric < 1135974947 0 :calamari!unknown@unknown.invalid QUIT :Client Quit < 1135983479 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1135983479 0 :clog_!n=nef@bespin.org JOIN :#esoteric < 1135984442 0 :clog!unknown@unknown.invalid QUIT :Connection timed out < 1135984443 0 :clog_!unknown@unknown.invalid NICK :clog < 1135985721 0 :clog!unknown@unknown.invalid JOIN :#esoteric < 1135985721 0 :clog!n=nef@bespin.org JOIN :#esoteric