wingolog

on psyntax

12 March 2009 11:53 PM (guile | scheme)

For the last few months I've been on a Dybvig kick. He writes clearly, and his papers make sense.

In the last week or two I've been poking at integrating psyntax closer to the heart of Guile, and in doing so have grown familiar with the syntax-case algorithms.

The algorithms themselves are described as lucidly as they can be in a chapter of Beautiful Code.

On the one hand, psyntax is beautiful. It is written in Scheme + syntax-case, yet it transforms code from Scheme + syntax-case to primitive Scheme. It's a compiler, like ones written in Scheme that compile Scheme to native code. You have to bootstrap it with a precompiled version of itself.

On the other hand, Dybvig himself damns it with faint praise, comparing it to an earlier algorithm, KFFD:

The syntax-case expander extends the KFFD hygienic macro-expansion algorithm with support for local syntax bindings and controlled capture, among other things, and also eliminates the quadratic expansion overhead of the KFFD algorithm. The KFFD algorithm is simple and elegant, and an expander based on it could certainly be a beautiful piece of code. The syntax-case expander, on the other hand, is of necessity considerably more complex. It is not, however, any less beautiful, for there can still be beauty in complex software as long as it is well structured and does what it is designed to do.

In other words: it works, dammit, shut up and eat your porridge!

23 responses

  1. Grant Rettke says:

    > In the last week or two I've been poking at integrating
    > psyntax closer to the heart of Guile

    How so?

  2. free robux no survey says:

    Enjoy the fantasy of playing roblox after getting the free robux no survey which will let you to cross all the levels of this game with much ease.

  3. Animation Video Maker says:

    From one viewpoint, psyntax is excellent. It is composed in Scheme sentence structure case, yet it changes code from Scheme language structure case to primitive Scheme. It's a compiler, similar to ones written in Scheme that incorporate Scheme to local code. You need to bootstrap it with a precompiled rendition of itself.

  4. sagar says:

    Once you have downloaded and install the APK from below link, you could by hand Play Store Download mount it. Go through this article to understand.

  5. hillarydavidson says:

    I recommend you find it on. Even however Wiki isn't the most definitive source around, do my dissertation perusing the Wiki article about Little Women ought to give you enough of a thought what the book is about that you can choose whether it intrigues you enough for you to get it.

  6. Lydia says:

    Our customized essay writing service bestwritingadvisor.com are welcomed by students and professionals all around the world. The debut in the very first paragraph of the letter is vital. For the collection organization to state that it had an agreement on you, it must show the way that it was going to do good for you.

  7. Coursework Writing Services UK says:

    At present the most current arrivals of different Scheme usage, for example, Chez Scheme, Racket, Ikarus, Larceny and Ypsilon, bolster the R6RS standard. There is a compact reference usage of the proposed verifiably staged libraries for R6RS, called psyntax, which loads and bootstraps itself legitimately on different more established Scheme executions.

  8. solitaire spider says:

    I recommend to you one of the most playing soliatire gaame , solitaire spider is one of the most famous game. You can play directly without login and no requied download. just one click and play classic game

  9. free steam cards says:

    You will always have your chance of getting these codes add cash to your steam wallet. steam wallet gift card add money to your wallet.

  10. Mail Encryption says:

    Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot.

  11. IPL Tickets in Delhi says:

    DD Vs CSK IPL Tickets: After a decade, IPL matches are still being loved by the entire cricket fans despite the fact that lot controversies get widespread across the nation. We all know that the battle between the teams is mainly said to be the IPL season. It is how we could able to see the IPL tournament. So, whenever the seasons of IPL are nearing, people are always showing their excitement and interests towards watching the matches and their favorite teams and players in the stadium.

  12. visit blog says:

    Wow i can say that this is another great article as expected of this blog.Bookmarked this site..

  13. Bulk SMS USA says:

    On the off chance that you require any assistance on the Bulk SMS Reseller Platform in Marlton, NJ and rest of USA. I will be constantly accessible at info@thetexting.com or contact at +1 914-205-9159.

  14. leilao imoveis says:

    Nice post mate, keep up the great work, just shared this with my friendz

  15. Ruhrgebiet Marketing Agentur says:

    Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks.

  16. lisina herpes says:

    Wow what a Great Information about World Day its very nice informative post. thanks for the post.

  17. EMS Geräte says:

    This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you.

  18. EMS Geräte says:

    This content is written very well. Your use of formatting when making your points makes your observations very clear and easy to understand. Thank you.

  19. pineal gland activation says:

    Is it okay to post part of this on my website basically post a hyperlink to this webpage?

  20. https://butcherblockco.com/portable-kitchen-island says:

    Wow what a Great Information about World Day its very nice informative post. thanks for the post.

  21. Visit Us says:

    In this astounding arrangement of things you truly get an A+ just for tireless work. Absolutely where you lost everybody ended up being in your particulars. You know, people say, unobtrusive components speak to the choosing minute the conflict. Likewise, that couldn't be considered more legitimate here. Having said that, enable me to state to you what absolutely gave incredible results.

  22. Umzug says:

    Thanks for this article very helpful. thanks.

  23. cheap assignment writing service says:

    All is ok as the academic papers is providing the students that How to write an effective essay and An effectively written essay is one that has a logical flow of ideas and is cohesive. This means the essay works as a unified whole; for example, it contains links between and within its sentences and paragraphs

Leave a Reply