The anatomy of a loop:a story of scope and control
Writing loops with tail-recursive function calls is the equivalent of writing them with goto's. Given that loop packages for Lisp-family languages have been around for over 20 years, it is striking that none have had much success in the Scheme world. I suggest the reason is that Scheme forces u...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Tagungsbericht |
Sprache: | eng |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | 14 |
---|---|
container_issue | |
container_start_page | 2 |
container_title | |
container_volume | |
creator | Shivers, Olin |
description | Writing loops with tail-recursive function calls is the equivalent of writing them with goto's. Given that loop packages for Lisp-family languages have been around for over 20 years, it is striking that none have had much success in the Scheme world. I suggest the reason is that Scheme forces us to be precise about the scoping of the various variables introduced by our loop forms, something previous attempts to design ambitious loop forms have not managed to do.I present the design of a loop package for Scheme with a well-defined and natural scoping rule, based on a notion of control dominance that generalizes the standard lexical-scope rule of the lambda-calculus. The new construct is powerful, clear, modular and extensible.The loop language is defined in terms of an underlying language for expressing control-flow graphs. This language itself has interesting properties as an intermediate representation. |
doi_str_mv | 10.1145/1086365.1086368 |
format | Conference Proceeding |
fullrecord | <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_miscellaneous_31627650</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>31627650</sourcerecordid><originalsourceid>FETCH-LOGICAL-a173t-5c84902de7184377a9781885c5fdeab8148a605e5e93384219b20bbd21f739873</originalsourceid><addsrcrecordid>eNotjD1PwzAUAD2ARCnMrJ7YUt7z88czG6qAIlViKXPlOI4AuXGI04F_j6BMJ51OJ8QNwgpRmzsEtmTN6kQ-EwsgqxokDRfistZPACBQvBBq955kGMJcDt-y9DLIXMp4H2Sdy_Rnaizjb9LJWIZ5KvlKnPch13T9z6V4e3rcrTfN9vX5Zf2wbQI6mhsTWXtQXXLImpwL3jEym2j6LoWWUXOwYJJJnoi1Qt8qaNtOYe_Is6OluD19x6l8HVOd94ePGlPOYUjlWPeEVjlrgH4ACz1Dlg</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype><pqid>31627650</pqid></control><display><type>conference_proceeding</type><title>The anatomy of a loop:a story of scope and control</title><source>ACM Digital Library</source><creator>Shivers, Olin</creator><creatorcontrib>Shivers, Olin</creatorcontrib><description>Writing loops with tail-recursive function calls is the equivalent of writing them with goto's. Given that loop packages for Lisp-family languages have been around for over 20 years, it is striking that none have had much success in the Scheme world. I suggest the reason is that Scheme forces us to be precise about the scoping of the various variables introduced by our loop forms, something previous attempts to design ambitious loop forms have not managed to do.I present the design of a loop package for Scheme with a well-defined and natural scoping rule, based on a notion of control dominance that generalizes the standard lexical-scope rule of the lambda-calculus. The new construct is powerful, clear, modular and extensible.The loop language is defined in terms of an underlying language for expressing control-flow graphs. This language itself has interesting properties as an intermediate representation.</description><identifier>ISSN: 0362-1340</identifier><identifier>DOI: 10.1145/1086365.1086368</identifier><language>eng</language><ispartof>SIGPLAN notices, 2005, p.2-14</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>310,311,781,785,790,791,23935,23936,25145,27930</link.rule.ids></links><search><creatorcontrib>Shivers, Olin</creatorcontrib><title>The anatomy of a loop:a story of scope and control</title><title>SIGPLAN notices</title><description>Writing loops with tail-recursive function calls is the equivalent of writing them with goto's. Given that loop packages for Lisp-family languages have been around for over 20 years, it is striking that none have had much success in the Scheme world. I suggest the reason is that Scheme forces us to be precise about the scoping of the various variables introduced by our loop forms, something previous attempts to design ambitious loop forms have not managed to do.I present the design of a loop package for Scheme with a well-defined and natural scoping rule, based on a notion of control dominance that generalizes the standard lexical-scope rule of the lambda-calculus. The new construct is powerful, clear, modular and extensible.The loop language is defined in terms of an underlying language for expressing control-flow graphs. This language itself has interesting properties as an intermediate representation.</description><issn>0362-1340</issn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2005</creationdate><recordtype>conference_proceeding</recordtype><recordid>eNotjD1PwzAUAD2ARCnMrJ7YUt7z88czG6qAIlViKXPlOI4AuXGI04F_j6BMJ51OJ8QNwgpRmzsEtmTN6kQ-EwsgqxokDRfistZPACBQvBBq955kGMJcDt-y9DLIXMp4H2Sdy_Rnaizjb9LJWIZ5KvlKnPch13T9z6V4e3rcrTfN9vX5Zf2wbQI6mhsTWXtQXXLImpwL3jEym2j6LoWWUXOwYJJJnoi1Qt8qaNtOYe_Is6OluD19x6l8HVOd94ePGlPOYUjlWPeEVjlrgH4ACz1Dlg</recordid><startdate>20050926</startdate><enddate>20050926</enddate><creator>Shivers, Olin</creator><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope></search><sort><creationdate>20050926</creationdate><title>The anatomy of a loop:a story of scope and control</title><author>Shivers, Olin</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a173t-5c84902de7184377a9781885c5fdeab8148a605e5e93384219b20bbd21f739873</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2005</creationdate><toplevel>online_resources</toplevel><creatorcontrib>Shivers, Olin</creatorcontrib><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Shivers, Olin</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>The anatomy of a loop:a story of scope and control</atitle><btitle>SIGPLAN notices</btitle><date>2005-09-26</date><risdate>2005</risdate><spage>2</spage><epage>14</epage><pages>2-14</pages><issn>0362-1340</issn><abstract>Writing loops with tail-recursive function calls is the equivalent of writing them with goto's. Given that loop packages for Lisp-family languages have been around for over 20 years, it is striking that none have had much success in the Scheme world. I suggest the reason is that Scheme forces us to be precise about the scoping of the various variables introduced by our loop forms, something previous attempts to design ambitious loop forms have not managed to do.I present the design of a loop package for Scheme with a well-defined and natural scoping rule, based on a notion of control dominance that generalizes the standard lexical-scope rule of the lambda-calculus. The new construct is powerful, clear, modular and extensible.The loop language is defined in terms of an underlying language for expressing control-flow graphs. This language itself has interesting properties as an intermediate representation.</abstract><doi>10.1145/1086365.1086368</doi><tpages>13</tpages></addata></record> |
fulltext | fulltext |
identifier | ISSN: 0362-1340 |
ispartof | SIGPLAN notices, 2005, p.2-14 |
issn | 0362-1340 |
language | eng |
recordid | cdi_proquest_miscellaneous_31627650 |
source | ACM Digital Library |
title | The anatomy of a loop:a story of scope and control |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-14T15%3A59%3A19IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=The%20anatomy%20of%20a%20loop:a%20story%20of%20scope%20and%20control&rft.btitle=SIGPLAN%20notices&rft.au=Shivers,%20Olin&rft.date=2005-09-26&rft.spage=2&rft.epage=14&rft.pages=2-14&rft.issn=0362-1340&rft_id=info:doi/10.1145/1086365.1086368&rft_dat=%3Cproquest%3E31627650%3C/proquest%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=31627650&rft_id=info:pmid/&rfr_iscdi=true |