|
Parrot 1.1.0 Released | parrot.org/ | 325 RTs left | Weekly Priority: Remove Deprecated Items Set by moderator on 28 April 2009. |
|||
| Whiteknight | cotto: ping? | 00:06 | |
|
00:09
AndyA joined
|
|||
| cotto | Whiteknight, pong? | 00:13 | |
| Whiteknight | cotto: Is darbelo blogging about his project anywhere? | 00:14 | |
| cotto | No, but that'd be a good idea. | ||
|
00:29
eternaleye joined
|
|||
| Whiteknight | okay, I just want to make sure I post lots of links to him, if he has one | 00:33 | |
| cotto | I'll recommend it next time he's around. | 00:34 | |
| MariachiElf | Is he working on something the lay person would understand? | 00:36 | |
| cotto | an arbitrary precision PMC using decNumber | 00:42 | |
| MariachiElf | that's awesome | ||
| I was just thinking the other day that I'd expect they had one of those given the definition of int and float | 00:43 | ||
|
00:43
dukeleto joined
00:44
kid51 joined,
tetragon_ joined
|
|||
| Whiteknight | MariachiElf: We actually have an implementation now called "BigInt", but darbelo is working on a better one | 01:14 | |
| at least, we all hope it will be better | |||
| MariachiElf | Better is better. :) | ||
| cotto | It'll be decimal-based instead of binary. | 01:17 | |
| MariachiElf | I'm not sure the distinction.... | ||
| cotto | bcd? | 01:18 | |
| purl | i think bcd is basically "the hex digit this represents is actually the number" or Binary Coded Decimal or (e.g., 0x1234 == 1234) or Buoyancy Control Device - that blow-up vest thingy scuba divers weigh so you can adjust to neutral buoyancy underwater. | ||
| cotto | binary-coded decimal is the one you want | 01:19 | |
| MariachiElf | So 4 bits per digit? | ||
| cotto | a little bit less, but basically yes | ||
| MariachiElf races out to patent the use of a blow up vest thingy to implement math in a computer | |||
| Sounds like a "string" with a 4-bit character set | 01:20 | ||
| interesting | |||
| cotto | decnumber? | ||
| decnumber is speleotrove.com/decimal/ | 01:21 | ||
| decnumber? | |||
| purl | decnumber is speleotrove.com/decimal/ | ||
|
01:33
cognominal joined
|
|||
| bacek | hi again | 01:41 | |
| purl | oh, you're back! | ||
| bacek | why don't use libgmp for bignums? | 01:42 | |
| cotto | decNumber is bcd-like, so rounding is less confusing. | ||
| we do have libgmp-based pmcs, though | 01:44 | ||
| bacek | ah, ok | 01:55 | |
| bacek realised that he trying to do way too many stuff in Parrot. | 01:56 | ||
| And all this stuff depends on bytecode generating from Parrot... | 01:57 | ||
| *sigh* | |||
| cotto | afk | 02:00 | |
| Coke | Infinoid: help yourself. | 02:06 | |
|
02:13
Theory joined
02:18
Ademan joined
02:35
janus joined
03:24
dalek joined
|
|||
| Infinoid | Coke: Thanks. Next commit you make to partcl should say coke++, not wcoleda++. | 03:24 | |
| See trac.parrot.org/parrot/changeset/38449 for the rest of the magic behind that. | 03:25 | ||
|
03:26
jsut joined
|
|||
| cotto | shiny | 03:29 | |
|
03:44
ilia joined
04:25
dduncan left
04:50
darbelo joined
05:09
dukeleto joined
|
|||
| darbelo | cotto, ping | 05:25 | |
| cotto | darbelo, pong | 05:33 | |
| darbelo | I'm having build issues with the dynpmc. Dou you have a minute to confirm them? | 05:36 | |
| cotto | sure | ||
| are your changes in svn? | 05:37 | ||
| darbelo | Not yet. But svn has the problem too. It began when I added the ATTRs. | 05:38 | |
| cotto | oh boy! story time. | 05:39 | |
| continue | |||
| darbelo | I didn't notice them before, becouse I was doing make install to the wrong place, took me a while to notice that. | 05:41 | |
| cotto | what's the problem? | ||
| purl | i heard the problem was not hardware, perros's first implementation was nginx+memcached as front end server | 05:42 | |
| cotto | no, the problem is <reply> | ||
| purl | okay, cotto. | ||
| darbelo | Anyway. Right now, pmc2c isn't generating code for the METHODS or VTABLES. | ||
| running the pir on eaxmples/ gives "Method 'version' not found for invocant of class 'DecNum'" | 05:43 | ||
| cotto | It's somewhat picky about formatting. Can you commit or nopaste your pmc code? | ||
| It being pmc2c | |||
| . | |||
| dalek | rrot: r38450 | cotto++ | branches/tt528_vtinit/lib/Parrot/Pmc2c/PMCEmitter.pm: [pmc2c] add code to generate update_vtable for variant vtables, plus get_vtable |
05:45 | |
|
05:47
Theory joined
|
|||
| darbelo | Failing code is in as r11. | 05:50 | |
| cotto | darbelo, the problem is that you have some #includes right before the ATTRs. If you put them with the others at the top of the file, you can get the next error. ;) | 05:52 | |
| lmk if you get stuck fixing any other errors. I'll be around for at least an hour. | 05:55 | ||
| darbelo | ok. I can't belive I never thought of moving the #includes arround. | ||
| cotto | also, it'd be good to start blogging about your progress. | ||
| once a week would be great | 05:56 | ||
| darbelo | I don't have a blog. Any preferences as to where I sould start one? | 05:57 | |
| cotto | Either parrot.org or parrotblog.org would make sense. I'm not sure if we're planning on hosting blogs on parrot.org, but istr something about merging it and parrotblog. | 05:58 | |
| I'll ask at #ps. | 05:59 | ||
| Infinoid | parrotblog and parrotcode content is to be merged into parrot.org, and then we'll set up DNS forwards and retire those sites | 06:04 | |
| That was the plan according to allison on 2009-02-17, and I haven't heard any changes of plan since | 06:05 | ||
| darbelo | cotto, is there any way to make src/pmc/pmc_decnum.h include decQuad.h ? | 06:13 | |
| cotto | hmmm | ||
| let me play with that for a minute | 06:14 | ||
| darbelo | no problem. | ||
| cotto | darbelo, I don't think so. If you're trying to include a decNumber struct, you can wrap it in a struct similar to what src/pmc/bigint.pmc does. | 06:17 | |
| although it's inelegant | |||
| It might work to prefix the types in the ATTR definition with 'struct', making them forward declarations. | 06:18 | ||
| dalek | rrot: r38451 | chromatic++ | trunk/docs/book/ch02_getting_started.pod: [book] Edited chapter 2 for style and accuracy. There's an editorial note |
06:24 | |
| cotto | darbelo, any luck? | 06:27 | |
| darbelo | prefixing with struct didn't fly. | 06:29 | |
| trying to wrap wit a struct now. | |||
| cotto | If you can't find anything better, feel free to commit and let me play. | 06:30 | |
| dalek | rrot: r38452 | cotto++ | trunk/src/pmc/default.pmc: [pmc] use Parrot_str_equal to improve readability |
06:40 | |
| darbelo | made ATTRS void *, lots of warnings but it works. | 07:03 | |
| cotto | eew | 07:05 | |
| I'll look at it after you commit and see if something less hacky is available. | 07:06 | ||
| but go ahead and commit whenever you're ready | 07:07 | ||
| darbelo | It just went in. I'll look for something less hacky too. | ||
| I have the feeling "ATTR union decQuad *number;" should work, but it doesn't. | 07:09 | ||
| nopaste | "cotto" at 96.26.202.243 pasted "using structs in ATTR definitions" (15 lines) at nopaste.snit.ch/16467 | 07:22 | |
| cotto | msg darbelo nopaste.snit.ch/16467 | 07:23 | |
| purl | Message for darbelo stored. | ||
|
07:37
iblechbot joined
|
|||
| bacek | O HI | 08:30 | |
| cotto: how is going with vtables refactoring? | 08:32 | ||
| cotto | gah | 08:37 | |
| I'm so close | |||
| I'll most likely have something working tomorrow, then something committable Monday. | |||
| or Christmas | 08:38 | ||
| purl | Christmas is all jolly goofy shit. weee! or o/~ we wish you a spendy christmas o/~ x3; o/~ and a 'spensive new year o/~ or not yet or next year or when Perl6 is released. | ||
| cotto | It'll be nice when I can start ripping out code. | 08:40 | |
| That file is ugly. | |||
| bacek | indeed. | 08:42 | |
| I'll put pmc_pct on hold waiting for your branch to merge. It's waste of time trying to reimplement current behaviour. | 08:43 | ||
| cotto | hey. I may have it. | ||
| I wish I didn't have to wait for all the PMCs to be regenerated, although there's not really a way around it. | |||
| bacek, you can work on ATTRs. I think that's orthogonal to the vtable stuff. | 08:44 | ||
| bacek | And METHODs as well. | ||
| Problem is - I don't like current ATTRs. And don't understand METHODs :) | 08:45 | ||
| cotto | nope. didn't work. I'm off to bed. | 08:47 | |
| night | |||
| bacek | good night | ||
| cotto | or not | 08:49 | |
| bacek | :) | 08:53 | |
| Ship it! | |||
| I'll stay awake for couple more hours and can fix some stuff | 08:54 | ||
| cotto | it builds... | 08:59 | |
| bacek | that's good | ||
| cotto | btw, the code currently manually builds a default vtable. It's just temporary. | 09:00 | |
| Once it's working I'll factor that out into an appropriate function. | 09:01 | ||
| bacek | "manually builds default vtable"? | 09:02 | |
| cotto | it allocs a new vtable and fills in all the default entries, instead of copying from an existing location | 09:04 | |
| for some reason, interp->vtables[0] is null, so I can't use it. | |||
| I tried to modify the default PMC, but its code is very... special. | 09:05 | ||
| feel free to take a shot | |||
| bacek | I'll try | ||
| cotto | one failing test, but it's a pmc2c test. | 09:06 | |
| I win! | |||
| bacek | cool! | ||
| (pmc2c treats VTABLE* update_vtable as VTABLE method... What a shame) | 09:07 | ||
| cotto | it's committed, and I'm asleep. night | 09:08 | |
| dalek | rrot: r38453 | cotto++ | branches/tt528_vtinit/lib/Parrot/Pmc2c/PMCEmitter.pm: [pmc2c] switch class_init to using runtime-built vtables - all tests pass, but there's much cleanup work to be done |
||
| bacek | cotto: night. I'll try not to break your stuff :) | ||
|
09:24
HG` joined
10:07
Eevee joined
10:34
uniejo joined
10:47
cognominal joined
11:13
rdice joined
12:25
HG` joined
|
|||
| dalek | rrot: r38454 | bacek++ | branches/tt528_vtinit/lib/Parrot/Pmc2c (2 files): Small cleanups: get_vtable and update_vtable functions. - Override default_get_vtable. - Fix dynpmc's generating. - Small other fixes that I forgot. |
12:25 | |
| bacek | hmm... Probably they are not so small. | 12:28 | |
|
12:45
AndyA joined
12:49
pfig joined
13:38
kid51 joined
13:39
Ron joined
13:41
Limbic_Region joined
14:09
ilia joined
14:18
tetragon joined
14:19
amoc joined
14:23
uniejo joined
14:35
uniejo joined
14:56
LylePerl joined
15:07
davidfetter joined
15:13
Andy joined
15:35
ilia joined
16:01
bsdz joined
16:06
bsdz joined
16:07
uniejo joined
|
|||
| dalek | rrot: r38455 | petdance++ | trunk/config/gen/makefiles/root.in: getting back to work on my splint target: |
16:56 | |
|
17:06
HG` joined
18:08
Theory joined
|
|||
| dalek | kudo: rcddb162 | ((Moritz Lenz))++ | t/spectest.data: t/spectest.data: passing integration test, #icu marker for uc.t |
18:23 | |
| kudo: rf68de36 | ((Moritz Lenz))++ | docs/ChangeLog: [docs] typo (vim-o?) in ChangeLog |
|||
| kudo: re486ca5 | ((Moritz Lenz))++ | tools/ (2 files): [tools] fix reading of spectest.data |
|||
| kudo: rd5a8940 | ((Moritz Lenz))++ | t/spectest.data: track moved test files (S12-role -> S14-roles) |
|||
|
18:31
Theory joined
18:52
Casan joined
19:13
ilia joined
19:28
Woody4286 joined
19:30
AndyA joined
19:35
kid51 joined
19:55
AndyA joined
19:58
darbelo joined
20:08
AndyA joined
|
|||
| dalek | l: redf93a5 | ((Francois Perrad))++ | (5 files): have a nice OO interface |
20:31 | |
|
20:48
bsdz joined
21:37
bsdz joined
21:49
tetragon joined
21:58
darbelo left
22:13
darbelo joined
22:36
Whiteknight joined
23:03
ilia joined
23:13
PacoLinux joined
|
|||
| cotto | apparently 'patch -p0 >x' is different from 'patch -p0 <x' | 23:16 | |
|
23:32
TonyC joined
|
|||
| Whiteknight | cotto: Yeah, I hate patch because I always get the syntax wrong | 23:41 | |
| darbelo | cotto, tried your changes. Works well, give or take a warning. | 23:56 | |