Journal of Functional Programming · 2002 · 102 citations · 49 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSyntaxCompiler ConstructionControl-flow AnalysisRegister AllocationType CheckingType SystemsAssembly Language ProgrammingCompiler SupportRun-time AdaptationStack AllocationStack DesignStack ManagementStack-based Virtual MachinesTail Call Optimization
This paper presents STAL, a variant of Typed Assembly Language with constructs and types to support a limited form of stack allocation. As with other statically-typed low-level languages, the type system of STAL ensures that a wide class of errors cannot occur at run time, and therefore the language can be adapted for use in certifying compilers where security is a concern. Like the Java Virtual Machine Language (JVML), STAL supports stack allocation of local variables and procedure activation records, but unlike the JVML, STAL does not pre-suppose fixed notions of procedures, exceptions, or calling conventions. Rather, compiler writers can choose encodings for these high-level constructs using the more primitive RISC-like mechanisms of STAL. Consequently, some important optimizations that are impossible to perform within the JVML, such as tail call elimination or callee-saves registers, can be easily expressed within STAL.
49
George C. Necula · 1997 · 1.8K citations
The Mechanical Evaluation of Expressions
P. J. Landin · The Computer Journal · 1964 · 932 citations · Full text
Types, Abstraction and Parametric Polymorphism.
John Reynolds · IFIP Congress · 1983 · 771 citations
From system F to typed assembly language
Greg Morrisett, David Walker, Karl Crary et al. · ACM Transactions on Programming Languages and Systems · 1999 · 587 citations · Full text
Safe kernel extensions without run-time checking
George C. Necula, Peter Lee · 1996 · 506 citations