Skip to main content

Building the World from First Principles: Declarative Machine Descriptions and Compiler Construction

  • Conference paper
Practical Aspects of Declarative Languages (PADL 2005)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 3350))

Included in the following conference series:

  • 344 Accesses

Abstract

For at least 25 years, the most effective way to retarget systems software has been by using machine descriptions. But “machine description” doesn’t mean what you think. A traditional machine description does contain information about the machine, but its utility is compromised in one of two ways:

  • The description is useful only in support of a particular algorithm, such as instruction-set emulation, LR parsing, or bottom-up tree matching.

  • Information about the machine is inextricably intertwined with information about a particular tool’s internal representation, such as a compiler’s intermediate code.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  • Benitez, M.E., Davidson, J.W.: A portable global optimizer and linker. In: Proceedings of the ACM SIGPLAN 1988 Conference on Programming Language Design and Implementation, in SIGPLAN Notices, July 1988, vol. 23(7), pp. 329–338 (1988)

    Google Scholar 

  • Davidson, J.W., Fraser, C.W.: Code selection through object code optimization. ACM Transactions on Programming Languages and Systems 6(4), 505–526 (1984)

    Article  Google Scholar 

  • Feigenbaum, L.D.: Automated translation: Generating a code generator. Technical Report TR-12-01, Harvard University, Computer Science Technical Reports (April 2001)

    Google Scholar 

  • Fernández, M.F., Ramsey, N.: Automatic checking of instruction specifications. In: Proceedings of the International Conference on Software Engineering, pp. 326–336 (1997)

    Google Scholar 

  • Ramsey, N.: Relocating machine instructions by currying. In: ACM SIGPLAN 1996 Conference on Programming Language Design and Implementation, in SIGPLAN Notices, vol. 31(5), pp. 226–236 (May 1996a)

    Google Scholar 

  • Ramsey, N.: A simple solver for linear equations containing nonlinear operators. Software – Practice & Experience 26(4), 467–487 (April 1996b)

    Google Scholar 

  • Ramsey, N.: Pragmatic aspects of reusable program generators. Journal of Functional Programming 13(3), 601–646 (2003); In: Taha, W. (ed.) SAIG 2000. LNCS, vol. 1924, pp. 149–171. Springer, Heidelberg (2000)

    Google Scholar 

  • Ramsey, N., Cifuentes, C.: A transformational approach to binary translation of delayed branches. ACM Transactions on Programming Languages and Systems 25(2), 210–224 (2003)

    Article  Google Scholar 

  • Ramsey, N., Davidson, J.W.: Machine descriptions to build tools for embedded systems. In: Müller, F., Bestavros, A. (eds.) LCTES 1998. LNCS, vol. 1474, pp. 172–188. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  • Ramsey, N., Davidson, J.W., Fernández, M.F.: Design principles for machine-description languages (2001), Unpublished draft available from, http://www.eecs.harvard.edu/nr/pubs/desprin-abstract.html

  • Ramsey, N., Fernández, M.F.: The New Jersey Machine- Code Toolkit. In: Proceedings of the 1995 USENIX Technical Conference, New Orleans, LA, pp. 289–302 (January 1995)

    Google Scholar 

  • Ramsey, N., Fernández, M.F.: Specifying representations of machine instructions. ACM Transactions on Programming Languages and Systems 19(3), 492–524 (1997)

    Article  Google Scholar 

  • Redwine, K., Ramsey, N.: Widening integer arithmetic. In: Duesterwald, E. (ed.) CC 2004. LNCS, vol. 2985, pp. 232–249. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  • Smith, M.D., Ramsey, N., Holloway, G.: A generalized algorithm for graph-coloring register allocation. In: ACM SIGPLAN 2004 Conference on Programming Language Design and Implementation, in SIGPLAN Notices, vol. 39(6), pp. 277–288 (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ramsey, N. (2005). Building the World from First Principles: Declarative Machine Descriptions and Compiler Construction. In: Hermenegildo, M.V., Cabeza, D. (eds) Practical Aspects of Declarative Languages. PADL 2005. Lecture Notes in Computer Science, vol 3350. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30557-6_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30557-6_1

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24362-5

  • Online ISBN: 978-3-540-30557-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics