Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
expands-to checkers with gensym
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Giorgio Valoti  
View profile  
 More options Aug 2 2012, 3:31 am
From: Giorgio Valoti <giorgi...@me.com>
Date: Thu, 02 Aug 2012 09:31:04 +0200
Local: Thurs, Aug 2 2012 3:31 am
Subject: expands-to checkers with gensym
Hi,
I’m testing a macro expansion with =expands-to=>. The macro being tested uses gensym, though.

Is there a way to ignore the generated symbols within =expands-to=> ?

Thank you
--
Giorgio Valoti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Baranosky  
View profile  
 More options Aug 3 2012, 4:14 am
From: Alex Baranosky <alexander.barano...@gmail.com>
Date: Fri, 3 Aug 2012 13:44:50 +0530
Local: Fri, Aug 3 2012 4:14 am
Subject: Re: [midje] expands-to checkers with gensym

Not really.  :)

I'd recommend you just test the result of *using* the macro instead.

Good luck.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Marick  
View profile  
 More options Aug 3 2012, 11:11 am
From: Brian Marick <mar...@exampler.com>
Date: Fri, 3 Aug 2012 10:11:11 -0500
Local: Fri, Aug 3 2012 11:11 am
Subject: Re: [midje] expands-to checkers with gensym

On Aug 3, 2012, at 3:14 AM, Alex Baranosky wrote:

> I'd recommend you just test the result of *using* the macro instead.

+1.

I have a project that uses macros fairly heavily. It in fact has macros that call functions that write macros. Some of the tests are fairly decently documented for a package that no one uses, and they might serve as examples.

https://github.com/marick/peano

-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Giorgio Valoti  
View profile  
 More options Aug 3 2012, 12:16 pm
From: Giorgio Valoti <giorgi...@me.com>
Date: Fri, 03 Aug 2012 18:16:53 +0200
Local: Fri, Aug 3 2012 12:16 pm
Subject: Re: [midje] expands-to checkers with gensym

Il giorno 03/ago/2012, alle ore 17:11, Brian Marick ha scritto:

> On Aug 3, 2012, at 3:14 AM, Alex Baranosky wrote:

>> I'd recommend you just test the result of *using* the macro instead.

> +1.

> I have a project that uses macros fairly heavily. It in fact has macros that call functions that write macros. Some of the tests are fairly decently documented for a package that no one uses, and they might serve as examples.

> https://github.com/marick/peano

Sounds like the correct way to handle it. Thank you all for the help.

--
Giorgio Valoti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Giorgio Valoti  
View profile  
 More options Aug 4 2012, 3:40 am
From: Giorgio Valoti <giorgi...@me.com>
Date: Sat, 04 Aug 2012 09:40:55 +0200
Local: Sat, Aug 4 2012 3:40 am
Subject: Re: [midje] expands-to checkers with gensym

Il giorno 03/ago/2012, alle ore 17:11, Brian Marick ha scritto:

> On Aug 3, 2012, at 3:14 AM, Alex Baranosky wrote:

>> I'd recommend you just test the result of *using* the macro instead.

> +1.

> I have a project that uses macros fairly heavily. It in fact has macros that call functions that write macros. Some of the tests are fairly decently documented for a package that no one uses, and they might serve as examples.

> https://github.com/marick/peano

This package seems very useful and I was wondering what is the relation with Midje, if any. Do you have any plans to fold Peano back into Midje?

Ciao
--
Giorgio Valoti


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Marick  
View profile  
 More options Aug 4 2012, 10:59 am
From: Brian Marick <mar...@exampler.com>
Date: Sat, 4 Aug 2012 09:59:31 -0500
Local: Sat, Aug 4 2012 10:59 am
Subject: Re: [midje] expands-to checkers with gensym

On Aug 4, 2012, at 2:40 AM, Giorgio Valoti wrote:

> This package seems very useful and I was wondering what is the relation with Midje, if any. Do you have any plans to fold Peano back into Midje?

I wrote this up as a proof of concept and to give me a better (more compelling) example of logic programming to use in my Software Craftsmanship North America talk.

I think Peano is a good idea -- I sure wish I'd had it on the last two Rails projects I've been working on -- but it won't go any further until and unless I get some Clojure work that needs something like it.

I'd be reluctant to put it in Midje core mainly because it doesn't work "out of the box". In order to use it on your own data, you have to write "selector and generator" code that isn't trivial.

-----
Brian Marick, Artisanal Labrador
Contract programming in Ruby and Clojure
Occasional consulting on Agile


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »