[Chicago] Anyone interested in a Chipy South?

Aaron Brady ascription at yahoo.com
Thu Jun 19 22:20:19 CEST 2014


Slightly better than directly splicing code.  However, you would still like to write the replacement line "in Python" instead of in the AST objects, namely prefix notation.  Namely something like:

return compile(
        "cache_args_func( node.func, *node.args, **node.kwargs )"
    )

Can anyone think of a way to do it?

You can also use MP to update an expression when a variable changes.  Namely if you have:

    a and b and c
    a and d
    d and e

Then we want to only reevaluate 1 and 2 when A changes.  Anyone run into that situation?


--------------------------------------------
On Thu, 6/19/14, Brian Herman <brianherman at gmail.com> wrote:

 Subject: Re: [Chicago] Anyone interested in a Chipy South?
 To: "The Chicago Python Users Group" <chicago at python.org>
 Date: Thursday, June 19, 2014, 5:37 AM
 
 +AST
 rewrites!
 
 On Thu, Jun 19, 2014 at
 5:19 AM, Jason Wirth <wirth.jason at gmail.com>
 wrote:
 
 
 More metaprogramming!!! +1
 
 
 
 
 
 -- 
 Jason Wirth
      213.986.5809

     wirth.jason at gmail.com
 
 
 
 
 
 On Thu, Jun 19, 2014 at
 4:22 AM, Aaron Brady <ascription at yahoo.com.dmarc.invalid>
 wrote:
 
 
 
 
 Cezar, Here's my program on
 "meta programming" in lieu, #140.  It's a
 particularly slippery topic.
 
 
 
 
 
 
 
 http://home.comcast.net/~castironpi-misc/irc-0140%20argument%20cache%20markup.html
 
 
 
 
 
 --------------------------------------------
 
 On Tue, 6/17/14, Adam "Cezar" Jenkins <emperorcezar at gmail.com>
 wrote:
 
 
 
  Subject: Re: [Chicago] Anyone interested in a Chipy
 South?
 
  To: "The Chicago Python Users Group" <chicago at python.org>
 
  Date: Tuesday, June 17, 2014, 5:17 PM
 
 
 
  It can wait
 
  till 7/9.
 
  On Jun 17, 2014 4:44 PM,
 
  "Aaron Brady"
 
  <ascription at yahoo.com.dmarc.invalid> wrote:
 
 
 
  Cezar, I can.  Are we doing a "pre-season"
 on
 
  6/18?  Or just wait til 7/9?
 
 
 
 
 
 
 
  --------------------------------------------
 
 
 
  On Mon, 6/16/14, Adam "Cezar" Jenkins <emperorcezar at gmail.com>
 
  wrote:
 
 
 
 
 
 
 
   Subject: Re: [Chicago] Anyone interested in a Chipy
 
  South?
 
 
 
   To: "The Chicago Python Users Group" <chicago at python.org>
 
 
 
   Date: Monday, June 16, 2014, 8:08 PM
 
 
 
 
 
 
 
   Hi Aaron,
 
 
 
   If you can still make July 9th, I'd love to have
 
  you
 
 
 
   talk. Metaprogramming sounded really neat, but
 anything
 
  you
 
 
 
   suggested would be really interesting.
 
 
 
 
 
 
 
 
 
 
 
   On Mon, Jun 16, 2014 at 3:41 PM, Aaron Brady
 
  <ascription at yahoo.com.dmarc.invalid>
 
 
 
   wrote:
 
 
 
 
 
 
 
   Besides me, you mean?  I listed some topics in an
 
  email
 
 
 
   June 8, 2014 9:37 AM.  I also did an "infix to
 
 
 
   postfix" converter and "hypothetical
 
 
 
   assembly" simulator recently.  But I'm not
 sure
 
  I
 
 
 
   could go much longer than an hour, not that you'd
 
  want
 
 
 
   me to.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   Does the venue have tables where we could just chat?
  Or
 
  is
 
 
 
   it a lecture hall layout?
 
 
 
  [snip]
 
 _______________________________________________
 
 Chicago mailing list
 
 Chicago at python.org
 
 https://mail.python.org/mailman/listinfo/chicago
 
 
 
 
 _______________________________________________
 
 Chicago mailing list
 
 Chicago at python.org
 
 https://mail.python.org/mailman/listinfo/chicago
 
 
 
 
 
 --
 
 
 
 Thanks,Brian
 Herman
 kompile.org
 
 
 
 
 
 
 
 
 -----Inline Attachment Follows-----
 
 _______________________________________________
 Chicago mailing list
 Chicago at python.org
 https://mail.python.org/mailman/listinfo/chicago
 


More information about the Chicago mailing list