Early Experience with ASDL in lcc

Computer Science – Programming Languages

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

16 pages, 12 figures

Scientific paper

The Abstract Syntax Description Language (ASDL) is a language for specifying the tree data structures often found in compiler intermediate representations. The ASDL generator reads an ASDL specification and generates code to construct, read, and write instances of the trees specified. Using ASDL permits a compiler to be decomposed into semi-independent components that communicate by reading and writing trees. Each component can be written in a different language, because the ASDL generator can emit code in several languages, and the files written by ASDL-generated code are machine- and language-independent. ASDL is part of the National Compiler Infrastructure project, which seeks to reduce dramatically the overhead of computer systems research by making it much easier to build high-quality compilers. This paper describes dividing lcc, a widely used retargetable C compiler, into two components that communicate via trees defined in ASDL. As the first use of ASDL in a `real' compiler, this experience reveals much about the effort required to retrofit an existing compiler to use ASDL, the overheads involved, and the strengths and weaknesses of ASDL itself and, secondarily, of lcc.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Early Experience with ASDL in lcc does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Early Experience with ASDL in lcc, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Early Experience with ASDL in lcc will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-235947

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.