Hey all, Earlier this week, I picked up amk's old crack at generating parrot bytecode, and have got it working again with imcc, the new(er) high(er)-level parrot assembler. Between imcc and the python compiler package, it's actually moving pretty rapidly. Currently, it supports: - print - lists, strings, ints (but no methods on them) - assignment and multi-assignment ( x,y=1,2 ) - while, for, if/elif/else, break, continue - math operations (+, -, *, /, %) - boolean logic (and, or, not) - comparison operators - function calls - lambda You can browse the code here: http://pirate.versionhost.com/viewcvs.cgi/pirate/ (See the README file for more info) To run it, you'll need python and also to check out and build parrot from cvs: http://dev.perl.org/cvs/ I'm just posting here to see if anyone's interested in helping out. There's a to-do list and help wanted section in the README, but one thing I could *really* use some help with is figuring out how to get the core C types working as PMCs. A PMC is supposedly very similar to a PyObject, so I'm wondering if it's possible to bridge the two without doing a lot of extra work. I just don't know enough C to judge. Anyway, cheers. :) Sincerely, Michal J Wallace Sabren Enterprises, Inc. ------------------------------------- contact: michal@sabren.com hosting: http://www.cornerhost.com/ my site: http://www.withoutane.com/ --------------------------------------
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4