Hi,
I'm wondering (after a bit of googling) whether there exists a Python
binding to any open source Lisp environment (like librep or some
Scheme or Common Lisp implementation) that could be recommended for
non-toy use?
My intention would be to use the Lisp environment to augment and help
my Python programming (and/or conversely: have access to the wealth of
Python libraries and Python code from a lispy language), which yields
at least the following requirements:
- the type and runtime environment system would need to be quite
transparently integrated, e.g. being able to use (pass, call,
set/get attr) Python objects in Lisp and vice versa with minimum
hassle
- the performance should match at least that of Python's. That
probably requires a native interpreter, although the ability to
compile Lisp to Python bytecode could do (if the lispy language
could be efficiently implemented in the Python bytecode)
There are many Scheme/Lisp interpreters written in Python, but those
I've found and looked at I consider to be more of proof of concepts.
Nesting different interpreters costs probably an order of magnitude in
speed. 6 2592
On 29 Dec 2004 14:50:53 +0200, Simo Melenius
<fi****************@iki.fi-spam> wrote: Hi,
I'm wondering (after a bit of googling) whether there exists a Python binding to any open source Lisp environment (like librep or some Scheme or Common Lisp implementation) that could be recommended for non-toy use?
Not sure this is going to help much,
but Lush - Lisp Universal Shell - is mature and has bindings to the
Python C API. http://lush.sourceforge.net/lush-manual/f0288067.html
The bindings are specific to Python22. I had trouble getting all the
demos working against Python23.
Art
Simo Melenius wrote: Hi,
I'm wondering (after a bit of googling) whether there exists a Python binding to any open source Lisp environment (like librep or some Scheme or Common Lisp implementation) that could be recommended for non-toy use?
My intention would be to use the Lisp environment to augment and help my Python programming (and/or conversely: have access to the wealth
of Python libraries and Python code from a lispy language), which yields at least the following requirements:
- the type and runtime environment system would need to be quite transparently integrated, e.g. being able to use (pass, call, set/get attr) Python objects in Lisp and vice versa with minimum hassle
- the performance should match at least that of Python's. That probably requires a native interpreter, although the ability to compile Lisp to Python bytecode could do (if the lispy language could be efficiently implemented in the Python bytecode)
There are many Scheme/Lisp interpreters written in Python, but those I've found and looked at I consider to be more of proof of concepts. Nesting different interpreters costs probably an order of magnitude
in speed.
When I looked for one I oculdn't find one. As Common Lisp generally
runs *considerably* faster than Python it could be a useful thing to
have. (Writing python extensions in CLISP would be more 'Pythonic' than
writing them in C ?). A two way binding to GNU CLISP would seem a
sensible one to implement.
Don't think it's already been done though.
Regards,
Fuzzy http://www.voidspace.org.uk/python/index.shtml
hello,
you might want to look at <http://logix.livelogix.com/> .
-- erno
Arthur <aj******@optonline.com> writes: but Lush - Lisp Universal Shell - is mature and has bindings to the Python C API.
Lush looks like a very interesting project on its own, too, and seems
to have a load of bindings to other libraries too÷÷. (Even better if it
was to support Python 2.3/2.4 once again in the future).
br,
S
Erno Kuusela <er**@iki.fi> writes: you might want to look at <http://logix.livelogix.com/> .
Thanks, this was a good link! Logix looks like an interesting project,
really, and I think I'll at least study its internals myself to shed
light to how it uses the Python compiler. Looks like something to hack
on.
br,
S
Simo Melenius <fi****************@iki.fi-spam> writes: Hi,
I'm wondering (after a bit of googling) whether there exists a Python binding to any open source Lisp environment (like librep or some Scheme or Common Lisp implementation) that could be recommended for non-toy use?
Dunno about non-toy uses, but if you want program your emacs with
Python, there is pymacs available :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Joe Cheng |
last post by:
I'm curious about something... many Artima.com members who have a Java
background and learned Python have come to the conclusion that Java and
Python are highly complimentary languages. They would...
|
by: Brandon J. Van Every |
last post by:
What's better about Ruby than Python? I'm sure there's something. What is
it?
This is not a troll. I'm language shopping and I want people's answers. I
don't know beans about Ruby or have...
|
by: mike420 |
last post by:
I think everyone who used Python will agree that its syntax is
the best thing going for it. It is very readable and easy
for everyone to learn. But, Python does not a have very good
macro...
|
by: Thomas Lindgaard |
last post by:
Hello
I am probably going to start a war now... but so be it :)
I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would...
|
by: Simo Melenius |
last post by:
I'm posting a self-followup to my post in last December about Python
and Lisp integration:
<URL:http://groups-beta.google.com/group/comp.lang.python/msg/ff6345845045fb47?hl=en>
Now, just...
|
by: seberino |
last post by:
I'm interested in knowing which Python web framework is most like Ruby
on Rails.
I've heard of Subway and Django.
Are there other Rails clones in Python land I don't know about?
Which one...
|
by: 63q2o4i02 |
last post by:
Hi, I've been thinking about Python vs. Lisp. I've been learning
Python the past few months and like it very much. A few years ago I
had an AI class where we had to use Lisp, and I absolutely...
|
by: Dave Potts |
last post by:
Hi,
I'm just starting a development project in Python having spent time in
the Java world. I was wondering what tool advice you could give me
about setting up a continuous integration...
|
by: Mark Tarver |
last post by:
How do you compare Python to Lisp? What specific advantages do you
think that one has over the other?
Note I'm not a Python person and I have no axes to grind here. This is
just a question for...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |