On Sat, Mar 26, 2005 at 04:44:52PM +0100, Leopold Toetsch wrote: > I had a look at the generated mandel.imc. Remarkable, how compact > Parrot.hs is and what it already does.
Thanks. One of my remaining large TODOs before Pugs 6.2.0 is to recode the evaluators in Template Haskell as Compile/Haskell.hs, so all code is always compiled. The Template Haskell macros should then be rewritten into something resembling your ast/ast.h, which is an AST for generating syntactically and semantically correct PIRs, without the need of hard coding any strings using PrettyPrinter. I'd very much like to talk with you about Compile/Parrot/AST.hs the next week -- IRC or SEE/MoonEdit/Skype if possible. I understand you're on metered ISDN, and I'd gladly pay for your bandwidth fee. :) But if mails are preferred for you, I can do that as well. > 1) s__z = s__t # mandel.imc:149 > > This aliases the two PMCs, it's specifically not an assignement. > It's: > > set Px, Py # PREG(1) = PREG(2); > > both PMC registers point to the same thing then. Aha! Thanks for the hint. I see that the form above should perhaps be used for :=, not =. Fixed as r1200. > 2) Parrot understands two forms of source line comments: > > a) C-like: #line "file" line I'll use this for now; r1201. > b) opcodes: setfile "file" > setline line What, no set-column? :-) > 3) the "last" Continuations Understood, will fix along with the AST refactoring. > 4) substr shortut Thanks, implemented as r1203. > Please let us know, what else is needed in the near future. I will definitely collect issues raised during my tomorrow's YAPC::Taipei talk and get back to you. Thanks, /Autrijus/
pgpOXgNmQyZfX.pgp
Description: PGP signature