pugs> macro test ($x) { say "macro"; "100$x" }
pugs> say 2; test 3
2
macro
'1003'
As seen on #perl6:
22:53 < nothingmuch> my god, you go for 10 minutes, and pugs gets macros
00:11 * putter thinks "macros !?!" O.O;)
00:12 < iblech> Yeah, and the tests pass!:)
In other news I submitted hw2005.pdf (tex, ps), two hours before the extended deadline. Sadly I don't fully grok how BibTeX works yet, so it's missing references; also many unfinished paragraphs in the final section and conclusions are mercilessly cut out. I'll see if can still fill in tomorrow.
Great progress at hackathon too. We figured out:
nothingmuch's Harrorth journal is very helpful -- Leo mentioned it's the first Haskell text that actually makes sense to him.
Oh, and #parrot now has a commit bot, svnbot6, that is, of course, powered by Pugs. I look forward to compile it to PBC.
Check Chip's APW presentation slides (pdf) too. I think it's a much needed attempt at at least some underpromising, and the refocus on PIR level stability for compiler authors is certainly a welcome change.
There's also extensive discussions on generational GC, unifying PMC interface with ParrotObject, and unifying ParrotString with PMCs, etc. Lots of handwritings covered several large scratch papers -- expect more tomorrow when I actually get to code!
Day 128: First day at Leo's 0 Comments More | Login | Reply /