Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Using rewriting techniques to produce code generators and proving them correct - MaRDI portal

Using rewriting techniques to produce code generators and proving them correct (Q2639631)

From MaRDI portal





scientific article
Language Label Description Also known as
English
Using rewriting techniques to produce code generators and proving them correct
scientific article

    Statements

    Using rewriting techniques to produce code generators and proving them correct (English)
    0 references
    0 references
    0 references
    0 references
    1990
    0 references
    This paper presents a solution to the problem of code-generator generation. The approach is based on a target machine description in which the basic concepts used (storage classes, access modes, instructions) are described by tree patterns that form the terms of an abstract data type. The source program is presented as an input to the code generator in an intermediate representation (IR) which is a term of the same abstract data type. The code generation consists of a rewriting process which modifies the IR until a pattern matches with an instruction template of the target machine. The axioms of the abstract data type are used to prove that the rewritings preserve the semantics of the intermediate representation. The basic concepts are illustrated by MC 68000 examples throughout the paper.
    0 references
    rewriting system
    0 references
    code-generator
    0 references
    0 references

    Identifiers