home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / arch / 10749 next >
Encoding:
Internet Message Format  |  1992-11-15  |  3.1 KB

  1. Xref: sparky comp.arch:10749 comp.lang.misc:3690
  2. Path: sparky!uunet!know!cass.ma02.bull.com!think.com!rpi!usc!zaphod.mps.ohio-state.edu!wupost!udel!pervert!louie!balin.cis.udel.edu!carroll
  3. From: carroll@balin.cis.udel.edu (Mark C. Carroll)
  4. Newsgroups: comp.arch,comp.lang.misc
  5. Subject: Re: how to advocate new software/hardware features (Re: Hardware Support for Numeric Algorithms)
  6. Message-ID: <1992Nov15.193847.8390@udel.edu>
  7. Date: 15 Nov 92 19:38:47 GMT
  8. References: <Bxq7y0.IJ@mentor.cc.purdue.edu> <mwm.2n6z@contessa.palo-alto.ca.us> <Bxr8vG.IpI@mentor.cc.purdue.edu>
  9. Sender: usenet@udel.edu (USENET News Service)
  10. Organization: University of Delaware, Newark
  11. Lines: 58
  12. Nntp-Posting-Host: balin.cis.udel.edu
  13.  
  14. In article <Bxr8vG.IpI@mentor.cc.purdue.edu> hrubin@mentor.cc.purdue.edu (Herman Rubin) writes:
  15. >In article <mwm.2n6z@contessa.palo-alto.ca.us> mwm@contessa.palo-alto.ca.us (Mike Meyer) writes:
  16. ]]In <Bxq7y0.IJ@mentor.cc.purdue.edu>, hrubin@mentor.cc.purdue.edu (Herman Rubin) wrote:
  17. ]]] With instruction scheduling, one place for an optimizer would be in the
  18. ]]] ASSEMBLER, and even interaction between the programmer and the compiler/
  19. ]]] assembler.  I do not know of any such.
  20. ]
  21. ]]Herman, I've *never* seen you suggest something that hasn't been tried
  22. ]]already, in some form or another. This is no exception. It's been
  23. ]]tried. It didn't work very well.
  24. ]
  25. ]Trying something on a stupidly restricted basis cannot work well.  It seems
  26. ]like you are saying that the analogs of the "enrichment" programs that the
  27. ]educationists have come up with for the bright children, rather than allowing
  28. ]them to advance, do not accomplish much.
  29. ]
  30. ]Nobody on this net, or others I have discussed this with, know of the 
  31. ]existence of a versatile syntax converter (macro processor).  Bob Silverman
  32. ]and Peter Montgomery have considerable contacts here, and they know of no
  33. ]such thing.  There are many macro processors out which at least handle some
  34. ]problems with macro name first, but apart from compilers, I know of none
  35. ]which would allow someone to write (Bob Silverman's notation) 
  36. ]
  37. ]    c = a ** b
  38. ]
  39. ]and have it translated into 
  40. ]
  41. ]    c = doubmult(a,b).
  42. ]
  43.  
  44. Herman, you're a liar.
  45.  
  46. On at least three occasions, I have answered this ridiculous thread of
  47. yours with a recommendation that you take a look at TXL. TXL will do
  48. exactly what you want from a macro processor.
  49.  
  50. TXL is a tool which takes a language, transforms it into an abstract
  51. syntax tree, and then allows you to perform arbitrary transformations
  52. on the tree, and output the results of the transformation.
  53.  
  54. Every single syntax that you have ever posted to the net could be
  55. parsed by TXL and transformed into the conventional syntax of your
  56. language. 
  57.  
  58. Archie lists dozens of sites that have TXL available.
  59.  
  60. In addition, someone recently announced a macro transformer named m5. From
  61. the description I've read, m5 will also do the transformations that you've
  62. wanted.
  63.  
  64.     <MC>
  65.  
  66.  
  67. -- 
  68. || Mark Craig Carroll: <MC>     ||"I prize the cloudy, tearing sky,
  69. || Univ of Delaware, Dept of CIS|| for the thoughts that flap and fly.
  70. || Grad Student/Labstaff Hacker || For staying in and reading by.
  71. || carroll@udel.edu             || For sitting under" -Karen Peris
  72.