add strip-syntax
This commit is contained in:
		
							parent
							
								
									b4a0761eb3
								
							
						
					
					
						commit
						e53472d9cc
					
				| 
						 | 
					@ -69,6 +69,7 @@ Syntactic closures.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- er-macro-transformer
 | 
					- er-macro-transformer
 | 
				
			||||||
- ir-macro-transformer
 | 
					- ir-macro-transformer
 | 
				
			||||||
 | 
					- strip-syntax
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Explicit renaming macro family.
 | 
					Explicit renaming macro family.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -106,6 +106,9 @@
 | 
				
			||||||
                  (rename sym)))
 | 
					                  (rename sym)))
 | 
				
			||||||
            (f (walk inject expr) inject compare))))
 | 
					            (f (walk inject expr) inject compare))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  (define (strip-syntax form)
 | 
				
			||||||
 | 
					    (walk ungensym form))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  (define-syntax define-macro
 | 
					  (define-syntax define-macro
 | 
				
			||||||
    (er-macro-transformer
 | 
					    (er-macro-transformer
 | 
				
			||||||
     (lambda (expr r c)
 | 
					     (lambda (expr r c)
 | 
				
			||||||
| 
						 | 
					@ -127,4 +130,5 @@
 | 
				
			||||||
          rsc-macro-transformer
 | 
					          rsc-macro-transformer
 | 
				
			||||||
          er-macro-transformer
 | 
					          er-macro-transformer
 | 
				
			||||||
          ir-macro-transformer
 | 
					          ir-macro-transformer
 | 
				
			||||||
 | 
					          strip-syntax
 | 
				
			||||||
          define-macro))
 | 
					          define-macro))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue