[OT] Meta-coding and weird C stuff (was: Re: [MPlayer-dev-eng] Do these strings need translation?)

Shachar Raindel shacharr at gmail.com
Thu Aug 19 04:02:45 CEST 2004


On Wed, 18 Aug 2004 23:52:38 +0200, Torinthiel <torinthiel at megapolis.pl> wrote:
> On Wed, Aug 18, 2004 at 04:06:57PM -0500, Joey Parrish wrote:
> >
> > On Wed, Aug 18, 2004 at 10:16:14PM +0300, Jan Knutar wrote:
> > > > Yes, and in any case there's no point in translating.  Those messages
> > > > are useless to the user, and most developers speak english.
> > >
> > > Indeed. If one starts translating those, we could also translate
> > > function and variable names, right after translating comments,
> > > of course... ;-)
> >
> > That could work!  We'll create meta-code!
> > Shouldn't take too long... how big can MPlayer's source be?  :)
> 
> I've once seen a program for calculating n!=1*2*...n.
> Everything was #defined. The actual code consisted of a series of
> loooong #defined identifiers, with nothing the compiler would understand
> without preprocessing. Only thing the preprocessor would leave intact
> were strings and indentation. And no identifier was shorter than 10
> characters (int was defined as integerNumberType, only in Polish). Is
> that large enough ;)?
> Friend called this 'Conversion of C into natural language'
> Torinthiel
Hey, maybe we should submit mplayer to the ioccc competition next
year? See http://ioccc.org/ for details....


    Cheers,
    Shachar




More information about the MPlayer-dev-eng mailing list