RE: [racket-users] constant propagation

2015-05-18 Thread Jos Koot
Hi Matthias,
 
Thanks for your clear answer.
You're right, of course.
I am curious, but that's not bad I think, although it may sometimes be
annoying.
Consider my post as a compliment, please.
 
Thanks again, Jos
 

  _  

From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] 
Sent: lunes, 18 de mayo de 2015 13:17
To: Jos Koot
Cc: racket-users@googlegroups.com
Subject: Re: [racket-users] constant propagation



Constant propagation is not a property of a language but its implementation.

Few implementations document which transformations they currently implement.


-- Matthias





On May 18, 2015, at 7:11 AM, Jos Koot wrote:


Very nice constant propagation in Racket.
For example the Racket compiler pre-evaluates:
(let ((b 2)) (sqrt (+ 2 b))) to '2.
That is what zo-parse and decompile tell me.
May be I missed it, but looking for info on constant propagation I found no
info about this in the docs.
If there is info, please tell me where.
Thanks to the plt Racket team!
Jos koot
 

-- 
You received this message because you are subscribed to the Google Groups
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an
email to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] constant propagation

2015-05-18 Thread Matthias Felleisen

Constant propagation is not a property of a language but its implementation. 
Few implementations document which transformations they currently implement. 

-- Matthias





On May 18, 2015, at 7:11 AM, Jos Koot wrote:

 Very nice constant propagation in Racket.
 For example the Racket compiler pre-evaluates:
 (let ((b 2)) (sqrt (+ 2 b))) to '2.
 That is what zo-parse and decompile tell me.
 May be I missed it, but looking for info on constant propagation I found no 
 info about this in the docs.
 If there is info, please tell me where.
 Thanks to the plt Racket team!
 Jos koot
  
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Racket Users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to racket-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Racket Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.