From omouse at gmail.com Tue Jan 15 21:07:51 2008 From: omouse at gmail.com (Rudolf) Date: Tue, 15 Jan 2008 16:07:51 -0500 Subject: [clpython-devel] Status? Message-ID: Heya, I just stumbled upon CLPython today. What's the status of it? Is there *any* sort of development going on? What would be a good place, for a CL newbie, to start adding functionality from this list: http://common-lisp.net/project/clpython/status.html Thanks, Rudolf -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.dodier at gmail.com Wed Jan 16 16:18:45 2008 From: robert.dodier at gmail.com (Robert Dodier) Date: Wed, 16 Jan 2008 09:18:45 -0700 Subject: [clpython-devel] Status? In-Reply-To: References: Message-ID: On 1/15/08, Rudolf wrote: > Heya, I just stumbled upon CLPython today. What's the status of it? Is there > *any* sort of development going on? Hi Rudolf, I'm just an occasional user of CL-Python, I don't have anything to do with the project. But no-on else has answered so here I am. CL-Python seems to work as advertised -- I had no trouble getting it to run and I didn't encounter any bugs (although I didn't look carefully). So it seems like a suitable basis for continuing development (even if you end up working by yourself). > What would be a good place, for a CL newbie, to start adding functionality > from this list: http://common-lisp.net/project/clpython/status.html If you're new to CL, try searching comp.lang.lisp for recommendations for tutorials. I think someone created a software package named "Lisp in a Box" to help people get started with CL. Hope this helps, Robert Dodier From julius at younglucks.com Wed Jan 16 16:21:56 2008 From: julius at younglucks.com (Julius B. Lucks) Date: Wed, 16 Jan 2008 08:21:56 -0800 Subject: [clpython-devel] Status? In-Reply-To: References: Message-ID: <023AEBB0-C7C2-4090-983F-5C95E70852D1@younglucks.com> Hi all, I was wondering the same thing about CLPython. I am an avid python user and am just starting to learn CL through a variety of books. By far the best book to get started is Practical Common Lisp by Peter Siebel - http://gigamonkeys.com/book/ . Julius ------------------------------------------------------------------------ --------------- Please Reply to My Permanent Address: julius at younglucks.com http://www.openwetware.org/wiki/User:Julius_B._Lucks ------------------------------------------------------------------------ ---------------- On Jan 16, 2008, at 8:18 AM, Robert Dodier wrote: > On 1/15/08, Rudolf wrote: > >> Heya, I just stumbled upon CLPython today. What's the status of >> it? Is there >> *any* sort of development going on? > > Hi Rudolf, I'm just an occasional user of CL-Python, I don't have > anything > to do with the project. But no-on else has answered so here I am. > CL-Python seems to work as advertised -- I had no trouble getting > it to run > and I didn't encounter any bugs (although I didn't look carefully). > So it seems like a suitable basis for continuing development (even if > you end up working by yourself). > >> What would be a good place, for a CL newbie, to start adding >> functionality >> from this list: http://common-lisp.net/project/clpython/status.html > > If you're new to CL, try searching comp.lang.lisp for recommendations > for tutorials. I think someone created a software package named > "Lisp in a Box" to help people get started with CL. > > Hope this helps, > > Robert Dodier > _______________________________________________ > clpython-devel mailing list > clpython-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/clpython-devel -------------- next part -------------- An HTML attachment was scrubbed... URL: From omouse at gmail.com Wed Jan 16 16:48:05 2008 From: omouse at gmail.com (Rudolf) Date: Wed, 16 Jan 2008 11:48:05 -0500 Subject: [clpython-devel] Status? In-Reply-To: References: Message-ID: On Jan 16, 2008 11:18 AM, Robert Dodier wrote: > On 1/15/08, Rudolf wrote: > > > Heya, I just stumbled upon CLPython today. What's the status of it? Is > there > > *any* sort of development going on? > > Hi Rudolf, I'm just an occasional user of CL-Python, I don't have anything > to do with the project. But no-on else has answered so here I am. > CL-Python seems to work as advertised -- I had no trouble getting it to > run > and I didn't encounter any bugs (although I didn't look carefully). > So it seems like a suitable basis for continuing development (even if > you end up working by yourself). > Does it absolutely require Allegro CL? I don't have that installed yet but I think it'd be neat if it would run on SBCL or CLISP with the most minimal of changes. That's actually what I'd like to do first before adding functionality. Do you know if benchmarks have been done comparing the speed of CLPython to CPython? -Rudolf -------------- next part -------------- An HTML attachment was scrubbed... URL: From metawilm at gmail.com Wed Jan 16 20:19:09 2008 From: metawilm at gmail.com (Willem Broekema) Date: Wed, 16 Jan 2008 21:19:09 +0100 Subject: [clpython-devel] Status? In-Reply-To: References: Message-ID: On Jan 15, 2008 10:07 PM, Rudolf wrote: > Heya, I just stumbled upon CLPython today. What's the status of it? Is there > *any* sort of development going on? There is still progress in CLPython, but that's only visible if you keep an eye on CVS commits. To get an impression of the language completeness, please look at the test suite. The website on common-lisp.net needs an update (conditional expressions and the "with" statement are already supported). I'll try to update the website in the weekend. > What would be a good place, for a CL newbie, to start adding functionality > from this list: http://common-lisp.net/project/clpython/status.html In another mail you wrote that you'd like to use CLPython in other Lisps like SBCL. Maybe then a good starting point is the parser. Allegro comes with its own version of yacc, while cl-yacc is available as open source. In file /parser/grammar-clyacc.lisp the grammar rules for cl-yacc are defined. The grammar can be compiled, but parsing fails, often with errors of the kind: clpython(10): (clpython.parser:parse "a = 3" :yacc-version :cl-yacc) Error: Unexpected terminal clpython.ast.token:identifier (value clpython.user::a) Expected one of: nil [condition type: yacc-parse-error] If you could look into fixing this, that would be a nice first step towards portability. Thanks for your interest! - Willem From metawilm at gmail.com Wed Jan 16 20:30:21 2008 From: metawilm at gmail.com (Willem Broekema) Date: Wed, 16 Jan 2008 21:30:21 +0100 Subject: [clpython-devel] Status? In-Reply-To: References: Message-ID: On Jan 16, 2008 5:48 PM, Rudolf wrote: > Do you know if benchmarks have been done comparing the speed of CLPython to > CPython? For numerical stuff, there shouldn't be too much difference. Creating instances and doing lots of attribute lookup is not as efficient in CLPython yet, though. Here is Pystone, to give an indication of the latter: clpython(19): (repl) [CLPython -- type `:q' to quit, `:help' for help] >>> import sys # >>> sys.path.append("./test/") None >>> import pystone ;;; Compiling file test/pystone.py ;;; Warning: Module `pystone', function `Proc8': unused variable `IntGlob'. ;;; Warning: Module `pystone', function `Proc5': unused variable `Char1Glob'. ;;; Warning: Module `pystone', function `Proc5': unused variable `BoolGlob'. ;;; Warning: Module `pystone', function `Proc4': unused variable `Char2Glob'. ;;; Warning: Module `pystone', function `Proc3': unused variable `IntGlob'. ;;; Warning: Module `pystone', function `Proc0': unused variable `i'. ;;; Warning: Module `pystone', function `Proc0': unused variable `PtrGlbNext'. ;;; Warning: Module `pystone', function `Proc0': unused variable `PtrGlb'. ;;; Warning: Module `pystone', function `Proc0': unused variable `BoolGlob'. ;;; Writing fasl file /Users/willem/.fasl/allegro-8.1m-macosx-x86/Users/willem/dev/lisp/python/test/pystone.fasl ;;; Fasl write complete ; Fast loading /Users/willem/.fasl/allegro-8.1m-macosx-x86/Users/willem/dev/lisp/python/test/pystone.fasl # >>> pystone.main() starttime 11.74 tmp 11.76 nulltime 0.020000458 Pystone(1.1) time for 50000 passes = 4.089999 This machine benchmarks at 12224.94126973949 pystones/second finished None >>> While CPython gives: Banaan:~/dev/lisp/python/test willem$ python2.5 Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pystone >>> pystone.main() starttime 0.06 tmp 0.07 nulltime 0.01 Pystone(1.1) time for 50000 passes = 1.21 This machine benchmarks at 41322.3 pystones/second finished - Willem