Camelia, the Perl 6 bug

IRC log for #moe, 2013-02-09

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:35 stevan_ joined #moe
01:50 moe [moe] jasonmay force-pushed jasonmay/interpreter-oo from 9e8acf0 to 38f1c92: http://git.io/WeqQRg
01:50 moe moe/jasonmay/interpreter-oo 90a75ed Jason May: Make the interpreter a class instead of an object
01:50 moe moe/jasonmay/interpreter-oo 1baa5d5 Jason May: Pass arguments into subroutines
01:50 moe moe/jasonmay/interpreter-oo b6b5e39 Jason May: Move interpreter utils into its own file
01:52 moe [moe] jasonmay pushed 1 new commit to jasonmay/interpreter-oo: http://git.io/2Q4xeA
01:52 moe moe/jasonmay/interpreter-oo c68bedf Jason May: Update the range operator to work with the updated code
02:14 jasonmay ^ attribute and method declaration
02:14 stevan_ jasonmay++
02:19 jasonmay should there be some sort of AST for instantiation?
02:21 jasonmay I guess that'd just be a method call and routed to instantion via runtime
02:27 stevan_ hmm
02:27 stevan_ classes should literals
02:27 stevan_ (which is not reflected in the AST
02:28 stevan_ and ->new is just a method on the Class instance
02:30 stevan_ so we would need a ClassLiteralNode that takes a string and looks up the class in the current Package
02:30 stevan_ though, we need to implement the package traversal
02:30 stevan_ so that Foo::Bar will DWIM
02:30 stevan_ that needs to be added into the runtime
02:31 stevan_ I would add this, but I am gonna be heading out the shovel again in a few
02:31 stevan_ I should have some time this weekend too
02:36 jasonmay class literals are in the ast and interpreter
02:37 jasonmay and good point about the class instance, thanks
02:39 stevan_ ah yes, *sigh* I should probably just go to sleep
02:39 stevan_ we need "new" to be a runtime accessible method
02:40 stevan_ yeah I guess i need to port that code into the runtime too
02:41 * stevan_ has this in the old Java version
02:41 stevan_ but, it is just a method call
02:41 stevan_ so should be simple
02:41 stevan_ if we have methods, we have that
02:41 stevan_ ok, need to go outside and check the snow
03:47 jasonmay sorry, misled you, ClassLiteralNode refers to __CLASS__, not an actual literal that is a class type apparently
03:55 jasonmay now I misled myself. I'm thinking of ClassAccessNode which also exists. ->sleep :)
04:13 stevan_ jasonmay: yes, the current implementation is wrong :)
04:17 jasonmay yeah I think I can't complete the knot because classes are stored in the package as MoeClass and not MoeObject (class instance) to call the constructor, if that makes sense
04:17 stevan_ yes it does
04:17 stevan_ we can fix that
04:40 * perigrin wants ot write a MOP where completing the knot ends with "And then the rabbit goes around the tree and back down in the hole"
09:10 am0c joined #moe
10:39 clintongormley joined #moe
10:42 clintongormley joined #moe
11:14 masak perigrin: :)
15:07 awwaiid joined #moe
15:53 bphillips joined #moe
17:59 moe [moe] jasonmay pushed 1 new commit to jasonmay/interpreter-oo: http://git.io/uv5ofA
17:59 moe moe/jasonmay/interpreter-oo ab1b44b Jason May: WIP/EXPERIMENTAL: Attempt to expose class instance to runtime...
18:18 celogeek joined #moe
19:02 moe [moe] jasonmay pushed 3 new commits to jasonmay/interpreter-oo: http://git.io/HRu2Hg
19:02 moe moe/jasonmay/interpreter-oo 2656c62 Jason May: Test method resolution more deeply
19:02 moe moe/jasonmay/interpreter-oo 89aa055 Jason May: Make instantiation work
19:02 moe moe/jasonmay/interpreter-oo b121b45 Jason May: Add a generic method call test
19:49 moe [moe] jasonmay pushed 1 new commit to jasonmay/interpreter-oo: http://git.io/h_TOiQ
19:49 moe moe/jasonmay/interpreter-oo f8bde81 Jason May: Add integer addition to the interpreter
20:14 bluescreen joined #moe
20:22 pingup3rl joined #moe
20:27 moe [moe] jasonmay pushed 3 new commits to jasonmay/interpreter-oo: http://git.io/cOVbfA
20:27 moe moe/jasonmay/interpreter-oo 7abca59 Jason May: Add the operators in the bootstrap instead...
20:27 moe moe/jasonmay/interpreter-oo d11b283 Jason May: Move arithmetic interpreter tests into its own file
20:27 moe moe/jasonmay/interpreter-oo bc9fe51 Jason May: Add the ability to add (floats|ints) to (floats|ints)
20:28 jasonmay awwaiid: ^ now your + parser will actually be able to do something ;)
20:50 moe [moe] jasonmay pushed 2 new commits to jasonmay/interpreter-oo: http://git.io/6h1WtA
20:50 moe moe/jasonmay/interpreter-oo 8480968 Jason May: Use the native objects so we get the right assoc. class
20:50 moe moe/jasonmay/interpreter-oo 3bca6c6 Jason May: Make the sub test more understandable with addition
20:54 moe [moe] jasonmay pushed 1 new commit to jasonmay/interpreter-oo: http://git.io/Rj-ihA
20:54 moe moe/jasonmay/interpreter-oo a74dae2 Jason May: Make a few comments more accurate
21:15 stevan joined #moe
21:19 jasonmay stevan: https://github.com/MoeOrganizati​on/moe/compare/c68bedf...8480968
21:20 jasonmay I don't know enough about object systems to know if this is really the right way or anything, but it was enough to allow me to progress
21:21 stevan yes, this looks exactly right
21:21 stevan awesome!
21:21 stevan jasonmay++ #once again
21:21 jasonmay :)
21:22 stevan not entirely sure this is needed -> https://github.com/MoeOrganization/m​oe/compare/c68bedf...8480968#L0R220
21:24 stevan yeah actually, that is odd, because MoeClass extends MoeObject, so I am not understanding why you would need that
21:24 stevan but right now i need to take a shower, cause we only just got power back and I have been shoveling snow all day
21:25 jasonmay oh, so it does
21:26 jasonmay a bunch of stuff I did is probably unnecessary in that case
21:35 stevan sorry, yeah I can see where you were heading
21:35 stevan ok, gotta help get stuff settled upstairs
21:35 stevan kinda chaos here
21:36 stevan I should have time tonight to hack though, the littlest didn't nap and will be going down early
22:02 jasonmay yeah that simplifies that one commit by quite a bit, sweet
22:57 moe [moe] jasonmay pushed 1 new commit to jasonmay/interpreter-oo: http://git.io/qE5p8Q
22:57 moe moe/jasonmay/interpreter-oo 0bd5df1 Jason May: Stop making instances of classes that already act as instances...

| Channels | #moe index | Today | | Search | Google Search | Plain-Text | summary