[OT?] srcML: A document-oriented XML representation of source code

43 views
Skip to first unread message

Offray Vladimir Luna Cárdenas

unread,
Aug 3, 2011, 6:23:51 PM8/3/11
to leo-e...@googlegroups.com
Hi,

May be, with recent discussions on format, this could be interesting:

http://www.sdml.info/projects/srcml/

Cheers,

Offray

Edward K. Ream

unread,
Aug 4, 2011, 7:28:21 AM8/4/11
to leo-e...@googlegroups.com
On Wed, Aug 3, 2011 at 5:23 PM, Offray Vladimir Luna Cárdenas
<off...@riseup.net> wrote:

> May be, with recent discussions on format, this could be interesting:
>
> http://www.sdml.info/projects/srcml/

A few years ago I asked the Python community whether there would be
any interest in an xml-ized Python source format. At that time, there
was not.

Naturally, I have some sympathy with the srcml, but my guess is that
it is not likely to catch on as a source format.

Edward

Ville M. Vainio

unread,
Aug 5, 2011, 6:33:40 AM8/5/11
to leo-e...@googlegroups.com
On Thu, Aug 4, 2011 at 2:28 PM, Edward K. Ream <edre...@gmail.com> wrote:

> A few years ago I asked the Python community whether there would be
> any interest in an xml-ized Python source format.  At that time, there
> was not.
>
> Naturally, I have some sympathy with the srcml, but my guess is that
> it is not likely to catch on as a source format.

srcml seems like something more relevant to your "pylint" research.

Edward K. Ream

unread,
Aug 5, 2011, 8:26:08 AM8/5/11
to leo-e...@googlegroups.com
On Fri, Aug 5, 2011 at 5:33 AM, Ville M. Vainio <viva...@gmail.com> wrote:

> srcml seems like something more relevant to your "pylint" research.

In what way?

Edward

Ville M. Vainio

unread,
Aug 5, 2011, 8:46:34 AM8/5/11
to leo-e...@googlegroups.com

It's about annotating source code with semantic meaning. You can
handle srcML like AST tree I guess.

Not that it would make things easier than just dealing with AST.

Reply all
Reply to author
Forward
0 new messages