From: Charles O. N. <cha...@su...> - 2006-11-14 04:51:11
|
I just wrestled with a large and unpleasant merge on JRuby, so I'm taking a breather. So here's a few notes as I try to get Jython up and building. - I see you're using JavaCC. How's performance? We're still stuck on Jay since we needed something closer to YACC. It works reasonably well, but parser questions come up pretty frequently. YACC grammars just suck. - I assume I'd want Python 2.2 installed locally for the current trunk, and python.home pointing at it...yes? - I see java-readline; you might consider looking at Jline...it's an outstanding project we've switched to in JRuby, and it requires NO JNI to work. It's like magic, seriously. - Have you considered just including the Python .py files in Jython SVN directly? We got permission to do so from Matz, creator of Ruby, and it's made so many things much easier. Currently it looks like there's a bit of wrestling to get the Python libs bootstrapped into the build process. I appear to have a working Jython build now using Python 2.2.3 libs and svn trunk. Huzzah! I started up Demo/swing/Console.py...it's a bit slow to start, isn't it? What's that package-mgr doing? Something funky in Jython for pulling in system jars? I even remembered a bit of Python from when I last tried it two years ago... def hello(): print "hello" My first Python program in a long time. Anyway, I'm up and running. Are there benchmarks? Built-in test cases? -- Charles Oliver Nutter, JRuby Core Developer Blogging on Ruby and Java @ headius.blogspot.com Help spec out Ruby today! @ www.headius.com/rubyspec he...@he... -- cha...@su... |