| 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 w s 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
|