In 2000, I wrote a Perl module called Inline.pm<http://search.cpan.org/search?query=inline&mode=module>that let people write Perl functions in C. C functions right inside a Perl source, that were callable from Perl. Later, with some help Python, Ruby, Java and over 20 other languages were added. Write your Perl functions in anything...
A couple years later, Ryan from the Seattle.rb, wrote Inline for Ruby (binding only to C iirc). This kind of inter-lingual play should be easy to copy into Python. Also last year, I gave a Seapig talk about C'Dent <http://cdent.org>, a compiler that compiles Python, JS and Perl 6 modules into equivalent modules in over a dozen languages. (C'Dent is written in Python :). C'Dent currently only supports a trivial AST model, but this summer I plan to take up development again, and hopefully get far enough to solve some problems on RosettaCode <http://rosettacode.org/>. Acmeism <http://acmeism.org/> lives, Ingy On Wed, May 25, 2011 at 2:42 PM, Kevin LaTona <[email protected]> wrote: > > Okay all laughs aside and after I thought about this idea some more . > > So why hasn't this idea not happened yet? > > I once used another language that cross talked back and forth with Python > via Unix domain sockets > > So why hasn't someone come up with a better way that actually could cross > talk back and forth to another language like Ruby from Python. > > Or has someone for real? > > > -Kevin > > > > > On May 24, 2011, at 8:12 PM, Brendan Miller wrote: > > Uh, look at the one file in the src directory. >> >> On Tue, May 24, 2011 at 6:47 PM, Kevin LaTona <[email protected]> >> wrote: >> >>> >>> I came upon this today. >>> >>> PyRuby - Some Ruby for your Python! >>> >>> https://github.com/danielfm/pyruby >>> >>> It is a pretty interesting thought worth looking at if you ever need to >>> blend the two languages at times. >>> >>> It's only been public for 2 days so check it out but know it's young yet. >>> >>> -Kevin >>> >>> >>> >>> >>> >>> >> >
