Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41749

Re: LiClipse

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fabiofz@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'example:': 0.03; 'apis': 0.07; 'dependency': 0.07; 'parser': 0.07; 'parsing': 0.07; 'referring': 0.07; 'scripts': 0.09; 'python': 0.09; 'ast': 0.09; 'ide': 0.09; 'throw': 0.09; 'cc:addr :python-list': 0.10; "wouldn't": 0.11; '(but': 0.15; 'java,': 0.15; 'sat,': 0.15; '(so,': 0.16; 'away).': 0.16; 'cc:name:python list': 0.16; 'cleaner': 0.16; 'codebase': 0.16; 'correct)': 0.16; 'easier.': 0.16; 'eclipse': 0.16; 'fabio': 0.16; 'internals,': 0.16; 'languages)': 0.16; 'rewriting': 0.16; 'still,': 0.16; 'later': 0.16; 'wrote:': 0.17; 'email addr:gmail.com&gt;': 0.20; 'mostly': 0.20; 'python?': 0.20; 'bit': 0.21; 'java': 0.21; '2.x': 0.22; 'work,': 0.22; 'cheers,': 0.23; 'cc:2**0': 0.23; 'programming': 0.23; '&gt;': 0.23; '(you': 0.23; "python's": 0.23; 'feature': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'creating': 0.26; 'am,': 0.27; 'besides': 0.27; 'message-id:@mail.gmail.com': 0.27; 'developing': 0.28; 'question:': 0.29; 'url:mailman': 0.29; 'ends': 0.30; 'basic': 0.30; 'code': 0.31; 'url:python': 0.32; 'file': 0.32; 'could': 0.32; 'url:listinfo': 0.32; 'received:74.125.82': 0.33; 'goes': 0.33; '(with': 0.33; 'changed': 0.34; 'received:google.com': 0.34; 'architecture': 0.34; 'done': 0.34; 'needed': 0.35; 'pm,': 0.35; 'something': 0.35; 'but': 0.36; 'received:74.125': 0.36; 'url:org': 0.36; 'too': 0.36; 'itself': 0.37; 'being': 0.37; '(for': 0.37; 'far': 0.37; 'subject:: ': 0.38; 'behind': 0.38; 'store': 0.38; 'easier': 0.38; 'some': 0.38; 'things': 0.38; 'sure': 0.38; 'url:mail': 0.40; 'think': 0.40; 'remove': 0.61; "you'll": 0.62; 'between': 0.63; 'different': 0.63; 'skip:n 10': 0.63; 'information': 0.63; 'more': 0.63; 'become': 0.65; 'facilities': 0.69; 'analysis': 0.70; 'completion': 0.78; "'does'": 0.84; '2013': 0.84; 'against,': 0.84; 'plugins': 0.84; 'sets,': 0.84; 'spawned': 0.84; 'rusi': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=/0mxhZxPRwK2cRq6pHU8ywzM0ZV0+TLyzjrIIBnFGV8=; b=vfukBLJ60S2rvzWtGFGOb+UgdOk4cHVajHxL3sOJd5KcKVv7fOMdnoy0qPA5BmjGv7 qVU95mzN3LbrHTwszxOKuITNjQ/FMt4CGvXh9BuqUS3Ey3e4y2foDEFxvlxGyJzBfEN1 6VeMstVaGSWBq+8BjeDP0YxPr3MdkytTN4OdxhlOqL8K8GdYz1F0gR9L46afuj6rrqXK 1P+wc0imvPuV+X6hL2PxcAqiTUm3vAFO8G/n9eG5ui0R93eh57vQUucghrtJkrHytmiw 7yOUUqhLSP4qLpOy7XzjB4yjR5uguRWdVmOw0LuLCD+oB/JHMUEzuGL4v5HYLnfoM9pv oosw==
X-Received by 10.180.103.40 with SMTP id ft8mr17632886wib.28.1364061414407; Sat, 23 Mar 2013 10:56:54 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <7771f4de-c135-446f-b4e8-14ad426c29a3@m9g2000pby.googlegroups.com>
References <fdae24a7-13f1-47b2-90f2-e23881841175@googlegroups.com> <514CFEDA.4030903@gmail.com> <mailman.3621.1364007564.2939.python-list@python.org> <8b1e5da2-7f80-4f68-a4f1-b4d1f36dd198@y7g2000pbu.googlegroups.com> <mailman.3630.1364037098.2939.python-list@python.org> <7771f4de-c135-446f-b4e8-14ad426c29a3@m9g2000pby.googlegroups.com>
From Fabio Zadrozny <fabiofz@gmail.com>
Date Sat, 23 Mar 2013 14:56:34 -0300
Subject Re: LiClipse
To rusi <rustompmody@gmail.com>
Content-Type multipart/alternative; boundary=f46d044282ac0ec77604d89b4cb5
Cc python list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3650.1364061421.2939.python-list@python.org> (permalink)
Lines 155
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364061421 news.xs4all.nl 6857 [2001:888:2000:d::a6]:48896
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41749

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Mar 23, 2013 at 2:27 PM, rusi <rustompmody@gmail.com> wrote:

> On Mar 23, 4:11 pm, Fabio Zadrozny <fabi...@gmail.com> wrote:
> > On Sat, Mar 23, 2013 at 12:38 AM, rusi <rustompm...@gmail.com> wrote:
> > >
> > > ie Eclipse-4 claims to have made plugin development (for new custom
> > > languages) easier.
> > > What is the relation of liclipse to eclipse 3<->4 plugin architecture?
> >
> > Well, it may have become a bit easier (with dltk and xtext), but it's
> still
> > far from trivial (you still have to know at least java, how plugins work,
> > eclipse internals, creating a grammar, etc.).
>
> I still have one (quite general) question:
> When eclipse 'does' pydev, is it mostly in java or in python?
>
> Using python's native parser etc makes the analysis more reliable at
> the cost of more fragile, non-portable(?) etc plumbing between java
> and python.
>
> Whereas rewriting python's parsing etc in java, makes the basic
> architecture easier but will always keep you behind target when say
> python changes/adds to its syntax/feature set etc.
>

Parsing in PyDev is done at java (so, yes, I have to update it when Python
itself goes forward).

Still, note that even if I was in Python and could use the Python parser, I
don't think that using the internal Python parser would be a good choice
(because it ends up being too fragile for me -- i.e.: if the IDE is done
using Python 2.x it wouldn't be able to analyze a Python 3 codebase --
unless it spawned scripts based on the configured Python you're developing
against, but things as a proper code analysis would prove very difficult to
do that way).

Also, the feature set from the PyDev grammar is different from the Python
grammar:

For example:
- it has to be fault tolerant (because you'll still want to see the outline
and get code completion even if you don't have the complete file correct)
- it may need to store more information in case a pretty-printing is needed
later on (so, the Python grammar can get something as "a = (1)" and remove
the parenthesis as they don't make part of the AST, as that's the same as
"a = 1" but in case you were pretty-printing the AST you may not want to
throw that away).


>
> Which do you choose? And are the new facilities in Juno easier for
> cross-language feature-sets?
>

As for easier cross-language feature sets, not sure what exactly are you
referring to... (but I don't think Eclipse 4 itself changed much from the
existing status quo... it's may difference in the programming model is on
the dependency injection, so some APIs are cleaner now -- besides the UI
changes).

Cheers,

Fabio


> --
> http://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

LiClipse Wanderer <wanderer@dialup4less.com> - 2013-03-22 13:26 -0700
  Re: LiClipse Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-22 23:57 +0000
  Re: LiClipse Verde Denim <tdldev@gmail.com> - 2013-03-22 21:01 -0400
  Re: LiClipse Fabio Zadrozny <fabiofz@gmail.com> - 2013-03-22 23:58 -0300
    Re: LiClipse rusi <rustompmody@gmail.com> - 2013-03-22 20:38 -0700
      Re: LiClipse Fabio Zadrozny <fabiofz@gmail.com> - 2013-03-23 08:11 -0300
        Re: LiClipse Wanderer <wanderer@dialup4less.com> - 2013-03-23 08:07 -0700
          Re: LiClipse Fabio Zadrozny <fabiofz@gmail.com> - 2013-03-23 12:39 -0300
        Re: LiClipse Wanderer <wanderer@dialup4less.com> - 2013-03-23 08:07 -0700
        Re: LiClipse rusi <rustompmody@gmail.com> - 2013-03-23 10:27 -0700
          Re: LiClipse Fabio Zadrozny <fabiofz@gmail.com> - 2013-03-23 14:56 -0300

csiph-web