For Programmers: Free Programming Magazines  


Home > Archive > Cobol > March 2006 > Re: Java compatibility issues (WAS: MF having issues?)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Java compatibility issues (WAS: MF having issues?)
Frank Swarbrick

2006-03-08, 6:55 pm

>
>
>
>"Frank Swarbrick" <Frank.Swarbrick@efirstbank.com> wrote in message
>news:476d3bFe2lamU1@individual.net...
>
of[color=darkred]
like[color=darkred]
>
> If you like a particular language, but just don't like minor

syntactical
>decisions (like what the keywords are), it isn't too difficult (maybe a
>couple of ws or months work) to design your own language "on top of"

your
>favorite language.
>
> You could write a compiler which took:
>
><input>
>class mymethod
>{
> return self
>}
>
>instance mymethod
>{
> return self
>}
></input>
>
>and emitted:
>
><output>
>+ mymethod
>{
> return self
>}
>
>- mymethod
>{
> return self
>}
></output>
>
> Then you'd just right a quick script to sequentially call your

compiler,
>and then the Objective C compiler, and you're all set.



Indeed you could. But then perhaps no one else could read your "new"
language because it's defined only in your head (and in the source code of
the compiler), so I'm not sure that's a great idea...

Frank


---
Frank Swarbrick
Senior Developer/Analyst - Mainframe Applications
FirstBank Data Corporation - Lakewood, CO USA
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com