Camelia, the Perl 6 bug

IRC log for #moe, 2013-02-05

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

All times shown according to UTC.

Time Nick Message
00:44 moe [moe] jasonmay pushed 3 new commits to jasonmay/interpreter-hashes-arrays: http://git.io/kwsTTA
00:44 moe moe/jasonmay/interpreter-hashes-arrays bc0b76e Jason May: Don't capture the =>
00:44 moe moe/jasonmay/interpreter-hashes-arrays 74dfa52 Jason May: Make scalars in general allowed for hash keys
00:44 moe moe/jasonmay/interpreter-hashes-arrays 85d6a52 Jason May: Introduce the distinction between hashes and hashrefs
00:44 moe [moe] jasonmay pushed 1 new commit to runtime-improvements: http://git.io/_RMpyw
00:44 moe moe/runtime-improvements b35b265 Jason May: Merge branch 'jasonmay/interpreter-hashes-arrays' into runtime-improvements
00:48 moe [moe] jasonmay deleted ast-json-serializer at 74048fa: http://git.io/B73upA
00:55 awwaiid joined #moe
01:26 stevan http://moe.iinteractive.com/
01:27 jasonmay hahaha nice
01:45 jasonmay hmmm. so raw strings *do* work. but chars don't
01:48 moe [moe] jasonmay created jasonmay/regex-parsers-to-strings (+1 new commit): http://git.io/YgivVA
01:48 moe moe/jasonmay/regex-parsers-to-strings af060d3 Jason May: Use strings in place of regex and literal() wraps where possible
01:49 jasonmay ^ if that looks good I'll merge into runtime-improvements (that's where I branched)
02:32 stevan jasonmay: yes please merge away
02:37 moe [moe] jasonmay merged jasonmay/regex-parsers-to-strings into runtime-improvements: http://git.io/QPImFw
02:46 stevan awesome
02:50 genehack joined #moe
04:39 moe [moe] rstrong pushed 1 new commit to runtime-improvements: http://git.io/zL1Vig
04:39 moe moe/runtime-improvements 59b0b62 Rick Strong: trying out shouldmatchers in the int-literal test suite
04:40 rstrong just messing around with the shouldmatcher stuff with the tests
04:40 rstrong is the runtime-improvements the main "dev" branch with all the newish test suits in it?
05:14 sahadev_ joined #moe
06:12 stevan rstrong: yes
06:38 am0c joined #moe
07:37 am0c joined #moe
09:38 clintongormley joined #moe
10:11 sri joined #moe
10:26 rob joined #moe
12:28 melo joined #moe
13:30 moe [moe] jasonmay pushed 2 new commits to runtime-improvements: http://git.io/3rOdAQ
13:30 moe moe/runtime-improvements dc2c0a4 Jason May: Make spec testing output more verbose
13:30 moe moe/runtime-improvements e3c60f9 Jason May: Add the hashref AST dump
13:49 jnap joined #moe
14:21 bluescreen joined #moe
14:37 sahadev trying to run moe from extra-y-stuff branch. under sbt, it fails with the error "java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected"
14:38 sahadev looks like its due to sbt already loading an older version of jline, and moe requiring a newer (incompatible?) version later.
14:38 stevan sahadev: I have seen that before, it is a jline compat issue
14:39 sahadev yeah. runs fine outside of sbt. scala -classpath target/scala-2.10/classes:$HOME/.ivy2/cache/comm​ons-cli/commons-cli/jars/commons-cli-1.2.jar:$HO​ME/.ivy2/cache/jline/jline/jars/jline-2.10.jar org.moe.Moe
15:05 moe [moe] stevan pushed 6 new commits to runtime-improvements: http://git.io/Ng4Pqg
15:05 moe moe/runtime-improvements c780b30 Stevan Little: we apparently were not parsing zero
15:05 moe moe/runtime-improvements 71e369b Stevan Little: some more notes in my TODO file
15:05 moe moe/runtime-improvements 9f00478 Stevan Little: removing the concept of refs, since everything is an object there is no difference between a ref and a non-ref (see also Perl 6)
15:06 jasonmay my only concern is how much of CPAN we lose
15:06 moe [moe] stevan pushed 1 new commit to runtime-improvements: http://git.io/SFvp-w
15:06 moe moe/runtime-improvements 4b3fd6b Stevan Little: fixing the Ref again
15:11 moritz note that if you remove refs, you either need to remove flattening as well, or introduce some other concept about whether or not an array flattens into a list
15:12 jasonmay and with refs "everything is an object" could get really messy so I'm torn
15:13 jasonmay I guess doing sigils properly is worth it
15:13 stevan moritz: yup, figure we will add the splat as needed
15:14 stevan jasonmay: I am not worried about CPAN right now
15:14 perigrin jasonmay: as long as you can make it syntactically work later you're fine
15:14 stevan if we don't stray too far we should be able to handle it
15:28 sahadev joined #moe
15:38 jnap joined #moe
15:44 isBEKaml joined #moe
15:48 isBEKaml sahadev: (about jline error from sbt) it's an issue arising out of jline bundled in with sbt and in some cases from scala passing in its own customised jline Terminal. I guess we can get this issue out of the way with some customised sbt task.
15:48 isBEKaml (It's on my task list)
15:50 am0c joined #moe
15:55 sahadev cool. thanks, isBEKaml.
16:52 stevan perl -MData::Dumper -e 'my @bar; @bar[0] = 10; warn Data::Dumper::Dumper(\@bar)'
16:53 stevan interestingly enough, that works
16:53 awwaiid array slice
16:53 stevan yeah
16:53 stevan but it DWIM
16:53 awwaiid surely that DWIM-but-not-really contributes to some confusion around that syntax :)
16:53 * stevan dances the happy dance
16:54 stevan yes, but it means one less syntax error to worry about
16:54 awwaiid true!
16:55 stevan too bad %baz{'test'} = 10; doesnt work
16:56 doy stevan: try enabling warnings
16:56 doy it's not parsing it as an array slice
16:56 doy there's just a special case in the parser for people who get confused about sigils
16:56 stevan yeah warnings are the training wheels of Perl man
16:56 doy Scalar value @bar[0] better written as $bar[0] at -e line 1.
16:56 stevan perl -e 'use strict; sub foo ( $x ) { 10 }' works
16:57 stevan perl -e 'use strict; use warnings; sub foo ( $x ) { 10 }' complains
16:57 stevan I should improve this spec checker to include strict and warnings
17:44 tempire_ joined #moe
18:53 sr joined #moe
19:14 melo joined #moe
19:21 arnsholt joined #moe
21:00 lestrrat joined #moe
21:00 alh joined #moe
22:52 moe [moe] stevan pushed 3 new commits to runtime-improvements: http://git.io/lr6bFw
22:52 moe moe/runtime-improvements d512104 Stevan Little: Merge branch 'more-grammar-examples' into runtime-improvements
22:52 moe moe/runtime-improvements 4edb239 Stevan Little: moving the ast files into the new directories (according to the re-org from the more-grammar-examples branch) and then fixing the SpecTestSuite to run with the new deeper file structure
22:52 moe moe/runtime-improvements eb034ac Stevan Little: re-writing the syntax markdown generator to better anaylyze the output; fixing a bunch of syntax examples so that they pass sensibly
22:52 moe [moe] jasonmay created jasonmay/interpreter-as-class (+1 new commit): http://git.io/T-cBwA
22:52 moe moe/jasonmay/interpreter-as-class 17532f6 Jason May: Make the interpreter a class instead of an object
22:52 stevan jasonmay++
22:52 stevan https://github.com/MoeOrganization/moe/b​lob/runtime-improvements/spec/syntax.md
22:52 stevan I updated the syntax generator
22:53 stevan perl actually compiles quite a bit of this
22:53 stevan some stuff it compiles, but fails if you execute
22:54 stevan jasonmay: I am going to write up some more of the .ast files tonight
22:54 stevan see how many I can bang out
22:55 jasonmay cool
23:18 jasonmay failing ones too?

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