Hmm... I'm trying to remember if I broke assignment in cardinal, or if I just hadn't fixed it yet... I'm pretty sure it's the latter, and 'svn diff' doesn't show anything related to assignment, and 'make test' passes... % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk r26008 | tene++ | trunk: : Very very basic function support for cardinal. : Allow defining functions that accept parameters. : Allow calling functions with ()s. : A few minor grammar fixes. * Tene reads up on MANIFEST MANIFEST is truly riveting. :-) :) Although banal in comparison to the level of excitement in MANIFEST.SKIP * Tene ponders building a graph of rakudo's grammar. a graph? somebody said a graph was a hint at something useful. It is an illustration. which rules call which other rules ahhh It would be helpful r26009 | tene++ | trunk: : Add the functions test for cardinal to MANIFEST. diff: http://parrotvm.org/svn/parrot/revision/?rev=26009 perhaps it would be equally useful to produce such a graph for STD.pm * Tene solicits feedback on r26009 That was appropriate, right? looks right to me. Did you use mk_manifest_and_skip to add it? and is languages/cardinal/t/02-functions.t actually committed to the repo? It is committed to the repo. I did not use mk_manifest_and_skip. Should I have? Would such a graph actually be useful, or just fun? mk_manifest_and_skip is the canonical mechanism for (re)generating MANIFEST If it's a generated file, why is it tracked in the repository? it exists for the tarball versions of Parrot (i.e., the releases) But I should be rebuilding it every time I add a file, right? yes Okay. Thanks. Alias: helpful how? Tene: Anything that helps people get a bird's eye view of an entire subject is helpful It would make it easier to learn the grammar I always did well in grammar school. :-) "Plays well with others." "Doesn't run with scissors." I always got "Could pay more attention" Some say I'm a dreamer but you're not the only one? (sorry, started channelling lennon for a second there.) That was my intent :) The clock here says 10:17am, but my body has no clue what time it is. lessee what I can hack together real quick. BTW, if you can make it work, I know an awesome tricky for search.cpan I can make an image of the grammar appear in the POD docs on search.cpan :) I'm just doing a quick hand-built translation of rakudo's grammar.pg for now works can't think of anything interesting to do with literal text in a rule. would it be relevant for me to include 'panic' or 'fail' nodes? % c_otto has left c_otto!~cotto@75-92-237-130.sea.clearwire-dns.net Hmm. -> #perl6 r26010 | pmichaud++ | trunk: : [pct]: : * Fix '-e' option so that it also honors --target= and other options. : * Patch from chromatic++ , with minor refactors. : * Resolves RT#51116. diff: http://parrotvm.org/svn/parrot/revision/?rev=26010 % ptc has joined #parrot % kj has joined #parrot http://pleasedieinafire.net/~tene/grammar.png -- quick graph of rakudo's grammar.pm r26011 | kjs++ | trunk: : [cardinal] add svn properties to new file. diff: http://parrotvm.org/svn/parrot/revision/?rev=26011 interesting. now I just need a big printer for it. Heh. Now I'm considering the possibility of a --target=graph tene: i saw you removed a default scope attribute for PAST::Var in method identifier in cardinal % kj is now known as kjs_ % kjs_ is now known as kj % c9s has joined #parrot kj: I did. As I recall, it was emitting find_global when it should have been emitting find_lex mm. ok. the :scope attribute must be set at some point if it's not set, it will result in an error it can be inherited from an outer Block's symtable pmichaud: what do you mean? each Block is allowed to keep a list of the symbols it defines and their scopes right, using .symbol() right if a PAST::Var node doesn't have a :scope attribute set, then PAST searches outwards through nested Blocks to find a block with a corresponding symbol and uses the 'scope' attribute from there oh. so PAST automatically looks in outer scopes if a symbol used in an inner scope was not found in that inner scope's symbol table? yes ah i see. no need to write a loop to do it yourself then right each scope only needs to keep track of the symbols it defines it doesn't hurt for it to keep track of its outer scope's symbols, but it's not necessary but when entering a symbol, you'd need to add a :scope() argument when defining a symbol? no, it doesn't need a :scope() argument -- it just needs an entry in the block's .symbol() table for example is it automatically set to 'lexical' then? my $x; does two things 1. It adds an entry to .scope for '$x' with a 'scope' of 'lexical' 2. It creates a PAST::Var node for $x (and the PAST::Var node doesn't need its own :scope attribute) s/.scope/symbol table/ ? ah i see yes so, any standard variable can simply create a PAST::Var node, and rely on the nested blocks to provide the appropriate scope i see.good to know. i'll update that in the pct docs btw, were you aware that the pct docs are one of the nlnet grant milestones? ehm. no? i just wrote down what i knew so i don't forget :-) given that I'm supposed to have done that milestone (for $2k), I'm thinking we should split it (assuming that I get around to updating it and adding things as well) (and assumingyou're not ineligible for some reason) well, then I really feel I should update them more thorougly; they're not that great yet imo we'll work on it together and figure out what to do with the money :-) sure chromatic may also want to help -- he was interested in doing so last Dec (although not connected with the grant) http://pleasedieinafire.net/~tene/nqp.png -- I did nqp too, apparently. Tene++ pmichaud: btw, did you have a chance to look at the patch i sent for PAST::Var :scope('attribute') ? kj: briefly I decided not to apply it pre-Feb release and since the release I've been (1) traveling, (2) catching up on sleep, (3) preparing for FOSDEM presentation however,it's on my list of things to do very soon ok. maybe the patch is not optimal, but it implements what I was thinking. Maybe there shouldn't be a default of "self" like you suggested. ok good. (otherwise I should change the docs, as they describe what i proposed) I'm still trying to decide how to represent 'self' in PAST also 'outer' and 'caller' and "super" maybe? well, does Parrot yet have a good way to handle 'super'? ;-) ehm. not on PIR level i think... istr there was something for super, but i forgot there was, but it's never quite worked right iirc and it gets tricky with multiple inheritance, not sure.. maybe it's also subject to the MRO stuff anyway, I can't decide if self/outer/caller are scopes, names, or something else altogether aren't these often referred to as Pseudo variables? or something like that/ 'self','super' so, maybe :scope('pseudo') ? my mind was thinking of PAST::Pseudo or PseudoVar, with :name('self') {super, outer, caller} i guess it's just syntax there :-) http://members.aol.com/m206ou/m206/M206_Smalltalk_tutorial_05.htm#PseudoVariables kj's url is at http://xrl.us/bgnwc <<== smalltalk calls them pseudo vars they could almost be PAST::Op nodes, then, with :pasttype self/super/outer/caller % cotto has joined #parrot wrt self-documenting code: they're not really operations, are they? * Tene glances between STD.pm and bed. well, almost anything can be considered an operation :-) I was inspired by http://blog.nicksieger.com/articles/2006/10/27/visualization-of-rubys-grammar fwiw Tene's url is at http://xrl.us/bgnwe ::Var makes sense if these are values that can be changed or assigned to :-) yes, it doesn't really matter. They all have in common that they're referring to a certain object that is context-dependent well, actually, "self" can be assigned to I think in some languages if it shouldn't be done, the language should throw an exception maybe in the semantic analysis phase of the compiler s/language/compiler/ anyway, it's still percolating in my brain :-) I'm sure it will result in something nice :-) I'm shutting down for a bit to preserve battery on my laptop bbl can PGE currently parse STD.pm? no well, depends on what you mean by parse... Maybe I can write some dumb regexes to get the information I want... * TimToady glances between STD.pm and bed, and bed wins... gah, 3am here... thunk & Oh, right, rakudo can't do IO yet. STD.pm also has a number of interesting constructs that PGE doesn't understand yet % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % cognominal_ has joined #parrot r26012 | kjs++ | trunk: : [docs] update a bit on pct docs w.r.t. symbol handling and scopes. It could use a review at some point (hint, hint) diff: http://parrotvm.org/svn/parrot/revision/?rev=26012 r26013 | paultcochrane++ | trunk: : [core] For some reason svk hasn't picked up the svn properties properly, so : setting them here. This in some sense is a test commit (for that I : apologise in advance) so that I can make sure I haven't killed anything on : the svn side. If this works, all the other files in my svk working copy : with the appropriately updated svn properties will be committed. diff: http://parrotvm.org/svn/parrot/revision/?rev=26013 % HG` has left HG`!~wells@user-514f84f7.l1.c4.dsl.pol.co.uk r26014 | paultcochrane++ | trunk: : [t] Updating svn properties appropriately so the file_metadata test runs : correctly for svk working copies. diff: http://parrotvm.org/svn/parrot/revision/?rev=26014 r26015 | paultcochrane++ | trunk: : [lib] Updating svn properties appropriately so the file_metadata test runs : correctly for svk working copies. r26016 | paultcochrane++ | trunk: : [rakudo] Updating svn properties appropriately so the file_metadata test runs : correctly for svk working copies. r26017 | paultcochrane++ | trunk: : [abc] Updating svn properties appropriately so the file_metadata test runs : correctly for svk working copies. r26018 | paultcochrane++ | trunk: : [core, config] Updating svn properties appropriately so the file_metadata : test runs correctly for svk working copies. diff: http://parrotvm.org/svn/parrot/revision/?rev=26018 good luck to pmichaud for his talk in a few minutes at fosdem % Coke has joined #parrot r26019 | kjs++ | trunk: : [c99] : - add is pirop traits to basic operators : - add postfix inc/dec operators : - add several other actions, refactoring the grammar a bit % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com r26020 | kjs++ | trunk: : [c99] add ternary operator + test. diff: http://parrotvm.org/svn/parrot/revision/?rev=26020 % PacoLinux has joined #parrot % ptc has left ptc!~cochrane@p5483E71C.dip.t-dialin.net r26021 | kjs++ | trunk: : [c99] : add prefix inc/dec operators : and some other stuff. r26022 | jkeenan++ | trunk: % kid51 has joined #parrot % HG` has joined #parrot % ptc has joined #parrot % diakopter is now known as diakopte1 r26023 | jkeenan++ | trunk: : In two locations, eliminate excess wordspace before parens, thereby enabling this file to get past t/codingstd/c_parens.t. diff: http://parrotvm.org/svn/parrot/revision/?rev=26023 % davidfetter has joined #parrot % davidfetter has left davidfetter!~chatzilla@start.fetter.org % Andy has left Andy!~Andy@64.81.227.163 r26024 | kjs++ | trunk: : [languages] update LANGUAGES_STATUS.pod on several points diff: http://parrotvm.org/svn/parrot/revision/?rev=26024 % rdice has joined #parrot % Ron has joined #parrot % Andy has joined #parrot % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % iblechbot has joined #parrot r26025 | petergibbs++ | trunk: : More complete fix for the constant string problems in hll_info causing : segfaults, refer also r25990 and RT#51122. : This now enforces that constant String PMCs embed constant parrot strings. r26026 | petdance++ | trunk: % DarkWolf84 has joined #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % parrot-poke has joined #parrot % Ron has left Ron!rblasch@M141P015.adsl.highway.telekom.at % kid51 has left kid51!~jkeen@pool-68-237-11-39.ny325.east.verizon.net % Andy has left Andy!~Andy@64.81.227.163 % Limbic_Region has joined #parrot % svnbotl has left svnbotl!diakopter@feather.perl6.nl % svnbotl has joined #parrot % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@f054001194.adsl.alicedsl.de % Psyche^ is now known as Patterner % diakopte1 is now known as diakopter % HG` has left #parrot % HG` has joined #parrot % barney has joined #parrot * barney back with new notebook % diakopter is now known as diakopte1 % slightlyoff has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot % amoore has joined #parrot r26027 | bernhard++ | trunk: : [plumhead] : verified with parrot 0.5.3 diff: http://parrotvm.org/svn/parrot/revision/?rev=26027 % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com r26028 | bernhard++ | trunk: : [Eclectus] : verified with Parrot 0.5.3 diff: http://parrotvm.org/svn/parrot/revision/?rev=26028 % pack|eet has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 ping cotto I can't find cotto in the DNS. % diakopte1 is now known as diakopter r26029 | bernhard++ | trunk: : #51062: [NEW] PHPArray PMC : Add an implementation of PHPArray. : Courtesy of Christoph Otto. diff: http://parrotvm.org/svn/parrot/revision/?rev=26029 r26030 | bernhard++ | trunk: : [Plumhead] : Update location of Wiki page diff: http://parrotvm.org/svn/parrot/revision/?rev=26030 % schmalbe has joined #parrot r26031 | bernhard++ | trunk: : [Plumhead] : Update copyright dates for PHPArray files. diff: http://parrotvm.org/svn/parrot/revision/?rev=26031 % barney has left barney!~bernhard@p549A24CA.dip0.t-ipconnect.de % Andy has joined #parrot % chromatic has joined #parrot % barney has joined #parrot % schmalbe has left schmalbe!~bernhard@p549A24CA.dip0.t-ipconnect.de % Andy has left Andy!~Andy@64.81.227.163 % chromatic has left chromatic!~chromatic@sub17-30.member.dsl-only.net % chromatic has joined #parrot % barney has left barney!~bernhard@p549A24CA.dip0.t-ipconnect.de % SCalimlim has left SCalimlim!ImustDIE@cpe-67-49-40-137.socal.res.rr.com r26032 | bernhard++ | trunk: : [Plumhead] : Satisfy coding standard tests. diff: http://parrotvm.org/svn/parrot/revision/?rev=26032 % grim_fandango has joined #parrot % Andy has joined #parrot % IllvilJa has joined #parrot % ruoso has left ruoso!~ruoso@85.138.239.223 % ruoso has joined #parrot % kid51 has joined #parrot % Theory has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167930301.dsl.bell.ca % HG` has left HG`!~wells@user-514f84f7.l1.c4.dsl.pol.co.uk % Andy has left Andy!~Andy@64.81.227.163 % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177230242.adsl.alicedsl.de % Psyche^ is now known as Patterner % iblechbot has left iblechbot!~iblechbot@223.16-dial.augustakom.net % pack|eet has left pack|eet!~dsds@212.71.10.206 % kid51 has left kid51!~jkeen@pool-70-107-19-71.ny325.east.verizon.net % kid51 has joined #parrot % slightlyoff has joined #parrot % cognominal_ has joined #parrot Have to learn not to confuse /q and /msg % jjore has joined #parrot % x has joined #parrot % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % Patterner has left Patterner!~Psyche@e177230151.adsl.alicedsl.de % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % gryphon has joined #parrot % mdiep_ has joined #parrot % mdiep has left mdiep!~mdiep@v-adsl-fh-178-170.umnet.umich.edu % jjore has left jjore!~jjore@75.146.54.50 % Andy has joined #parrot seen chromatic chromatic was last seen on #parrot 2 days ago, saying: If you're just debugging and printing temporarily, use s->strstart, but don't remember I told you that and scrub it out before checkin. [Feb 21 18:12:45 2008] pong % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net oh shoot % jjore has joined #parrot r26033 | petdance++ | trunk: : Isolating memory stomp in RT #50920. Also switched to flex 2.5.33 so chromatic and I no longer stomp on each others versions diff: http://parrotvm.org/svn/parrot/revision/?rev=26033 % diakopter is now known as diakopte1 hey chromatic Howdy. Check out the isolation I've been doin' Looks good. O_O tedious, but I'm tryin' to get the bottom of the str_dup necessity Mine was just a "Hey, I think I know *where* the problem is" patch to get Coke running again. "kid51" at 70.107.19.71 pasted "My first use of valgrind -- on Configure.pl" (620 lines) at http://nopaste.snit.ch/12386 % ptc_ has joined #parrot ptc_: Can't sleep? geckos'll eat me. % ptc has left ptc!~cochrane@p5483E71C.dip.t-dialin.net % diakopte1 is now known as diakopter r26034 | petdance++ | trunk: : fixed a missing cast that ran afoul of a coding standard test r26035 | petdance++ | trunk: : isolating, ever closer, RT #50920 diff: http://parrotvm.org/svn/parrot/revision/?rev=26035 % kid51 has left kid51!~jkeen@pool-70-107-19-71.ny325.east.verizon.net % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % PacoLinux has left PacoLinux!~paco@139.Red-80-36-122.staticIP.rima-tde.net % Andy has left Andy!~Andy@64.81.227.163 % diakopter is now known as diakopte1 % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % Andy has joined #parrot ping crhomatic I can't find crhomatic in the DNS. ping chromatic I can't find chromatic in the DNS. r26036 | petdance++ | trunk: : Fix C90 complaints diff: http://parrotvm.org/svn/parrot/revision/?rev=26036 % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % x has joined #parrot % diakopte1 is now known as diakopter % Coke has joined #parrot opbots, names mdiep_: you around? tene: you around? chromatic: you around? pmichaud: how about you? =-) Coke: you around? :) % slightlyoff has joined #parrot *thbbthp * Coke gives up on tcl for the evening. r26037 | coke++ | trunk: : [tcl] : Take advantage of the new 'copy' op, which is supposed to replace morph+assign. diff: http://parrotvm.org/svn/parrot/revision/?rev=26037 Coke: yo % mdiep_ is now known as mdiep There I have at least gotten my poor failing test to make parrot throw up instead, so I can open a ticket, .... , and profit. tickets are good mdiep: was getting errors that set_pmc is not defined in TclConst (post PDD15). remembered that there was a copy opcode these days; tried to use that; test failure mode changed from 'set_pmc not defined' to *vomit* sounds fun hopefully that'll be enough for chromatic to fix it. =-) maybe I can take a look at tcl this week. it's spring break. :) yay. Keep me in the loop if you start something radical. =-) -> abed roger, roger "uh oh" (I played lego star wars for about 3 hours tonight, I can still here the droid army in my head.) % Coke has left #parrot % Andy has left Andy!~Andy@64.81.227.163