ASTs: can they be "standardized"?

"Tony" <tony@my.net>
Fri, 31 Oct 2008 21:50:03 -0500

          From comp.compilers

Related articles
ASTs: can they be "standardized"? tony@my.net (Tony) (2008-10-31)
Re: can they be "standardized"? idbaxter@semdesigns.com (Ira Baxter) (2008-11-01)
| List of all articles for this month |
From: "Tony" <tony@my.net>
Newsgroups: comp.compilers
Date: Fri, 31 Oct 2008 21:50:03 -0500
Organization: at&t http://my.att.net/
Keywords: AST, question, comment
Posted-Date: 01 Nov 2008 08:32:08 EDT
X-StarScan-Version: 5.5.12.14.2; banners=-,-,-

What is the best "main" form for representation of a software program
(or lib etc)? Human-readable text? The Abstract Syntax Tree perhaps?
Something in-between?


The reason I asked, in the subject of this post, if ASTs could be
standardized, is because I am kinda thinking that the AST may be the
"center stage" of code representation (?). At a higher level than
typing text, one can build software by moving boxes around, making
arrows etc. or doing something like a GUI editor does. Is the focus on
text editing to create software "a dumb idea" these days? Sure, coding
has moved a notch away from assembly, but it's still pretty much
punching in all the dashes and dots.


Tony
[People have been looking for a common intermediate representation for
over 50 years, and it's a famous swamp from which nobody returns. Google
UNCOL for some of the older failures. The basic problem is that we have
no good way to describe the semantics of real computer languages, and the
accumulation of little differences around the edges kill you. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.