A Nanopass Framework for Compiler Education∗
نویسندگان
چکیده
A compiler structured as a small number of monolithic passes is difficult to understand and difficult to maintain. The steep learning curve is daunting, and even experienced developers find that modifying existing passes is difficult and often introduces subtle and tenacious bugs. These problems are especially frustrating when the developer is a student in a compiler class. An attractive alternative is to structure a compiler as a collection of many fine-grained passes, each of which performs a single task. This structure aligns the implementation of a compiler with its logical organization, simplifying development, testing, and debugging. This paper describes the methodology and tools comprising a framework for constructing such compilers.
منابع مشابه
Generics in Small Doses: Nanopass Compilation with Haskell
Tock is a new compiler for concurrent imperative programming languages, designed using nanopass techniques. Nanopass compilers transform a program from source code to the target form through the application of a series of transformation passes. Because these passes are usually small and self-contained, the resulting compiler is highly modular, and easy to test and extend. Most existing nanopass...
متن کاملComparison of patient's preference, pain perception, and usability between Micro Fine Plus 31-gauge needle and Microtapered NanoPass 33-gauge needle for insulin therapy.
BACKGROUND How smoothly insulin is injected is one of the major concerns when patients commence insulin injection therapy. Improving its usability may be important in initiation therapy and adherence, resulting in clinical benefits to the patient. METHODS In a single-center, open-label and randomized two-period crossover trial, the effect of the tapered needle of NanoPass (33 gauge, 5 mm) on ...
متن کاملTOWARD A DEFINITION COMPETENCY FRAMEWORK FOR COMPETENCY-BASED EDUCATION IN NURSING: CRITICAL REVIEW OF EVIDENCE
Background & Aims: In recent years the issues surrounding competency-based education (CBE) increased attention and debate among health professionals and the international conferences and pilot projects proposed by a growing number of many of the issues of education magazines Medical critically examined. Because it had not been provided in nursing competency-based framework, providing a comprehe...
متن کاملA policy framework for the challenges of implementing regional higher education management in Iran
The models of regional governance in the world, particularly for administration of higher education are considered vital. In Iran, with the approval of Iran's Higher Education System Spatial Management Document, the issue of regional management in higher education was given special attention. Articles 1 and 2 of the document specifically address the regional higher education structure of the ...
متن کاملطراحی چارچوب معماری اطلاعاتی برای بهکارگیری شبکههای اجتماعی در نظام آموزش عالی ایران
Management of social networks, has become a strategic challenge for different applications including education due to its growing importance. Enterprise Architecture (EA), uses a holistic specification of information technology functions in organizations to decrease the complexity of using information technology and to increase its efficiency. As regards, using social networks in education in ...
متن کامل