[Mono-list] Mixing languages within

Colin JN Breame colin@breame.com
Thu, 09 Dec 2004 23:18:59 +0000

I don't know what the .Net standard would have to say about this....

I would like to mix C# and (say) Hypothetical String Processing Language 
(HSPL) and (say) Hypothetical Data Processing Language (HDPL) within the 
same source code file. e.g.

class mixed {
     string normal_c_sharp_method() {
       string ret = null;

       <region is HSPL>
          some HSPL...modifying ret
       </region is HSPL>

       <region is HDPL>
          some HDPL...modifying ret
       </region is HDPL>

       return ret

Is this a crazy idea?