Im embarking on making a lisp syntax to python translator so as to enjoy lisp macros and reader macros and such in python while gaining access to all the libraries and the cutting edge implementations (like pypy, stackless python and microthreads!)
To start i was wondering if anyone here is aware of any similar lisp projects of which i can take advantage of. And if there were any issues anyone could think of which would be a show stopper.
Both are typeless, the only 'hard' thing i can think of is that python doesn't allow arbitrarily nested code (for example, while statements in function parameters). However, i *believe* that all arbitrarily nested code can be converted to what python expects.
Another difficulty would be mapping python errors to the location which the errors correspond to in the lisp code (since we have to un nest arbitrary lisp code)
Any suggestions? Thanks!
To start i was wondering if anyone here is aware of any similar lisp projects of which i can take advantage of. And if there were any issues anyone could think of which would be a show stopper.
Both are typeless, the only 'hard' thing i can think of is that python doesn't allow arbitrarily nested code (for example, while statements in function parameters). However, i *believe* that all arbitrarily nested code can be converted to what python expects.
Another difficulty would be mapping python errors to the location which the errors correspond to in the lisp code (since we have to un nest arbitrary lisp code)
Any suggestions? Thanks!