[r6rs-discuss] [Formal] fenders should be dropped from syntax-rules

From: David Van Horn <dvanhorn>
Date: Tue Nov 14 18:59:32 2006

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
Name: David Van Horn
Email: dvanhorn_at_cs.brandeis.edu
Type: Simplification
Priority: Major
R6RS component: Macros
Version of the report: 5.91
Summary of the issue
--------------------
The <fender> production should be removed from the language of 
syntax-rules forms.
Full description
----------------
Allowing fenders in syntax-rules significantly complicates the semantics 
of syntax-rules-based transformations, introducing phase distinctions 
where there used to be none and allowing the use of arbitrary Scheme 
code in what was once a simple rewritting specification.  The 
complications add essentially no practical benefit without also using 
the (r6rs syntax-case) library.  With the inclusion of syntax-case in 
R6RS, when fenders are needed, they may be used and a derived form 
syntax-rules/fenders can be defined using (r6rs syntax-case), but this 
makes it explicit that the enhanced facilities provided by syntax-case 
are being relied upon.
Received on Tue Nov 14 2006 - 14:18:08 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:00 UTC