Page 5 of 5

Re: Language Design

Posted: Sun Jan 29, 2017 9:35 am
by glauxosdever
Hi,


I will use the name "Glaux-HLL" for now. It provides a good description of what it is (a high-level programming language), while being tied to the name of the OS to which it relates.


Regards,
glauxosdever

Re: Language Design

Posted: Tue Jan 31, 2017 3:27 pm
by dchapiesky
Techel wrote:Gyroscope, Gyros, Guanine, Genuine, Gold, Gargamel. Preferably with -Script appended.

I would happily program in gargamel if only to confuse the millenials...
but it looks like gargamel OS already exists...

Re: Language Design

Posted: Wed Feb 01, 2017 1:26 am
by Boris

Code: Select all

let smurf=smurf.smurf({smurf::SmurfedPtr<$murf>}="Hello , world")
That would confuse a bit more than millennials

Re: Language Design

Posted: Wed Feb 01, 2017 2:47 am
by alexfru
Boris wrote:

Code: Select all

let smurf=smurf.smurf({smurf::SmurfedPtr<$murf>}="Hello , world")
That would confuse a bit more than millennials
How about some C?

Code: Select all

#define SAME(SAME) SAME

typedef struct SAME
{
  int SAME;
} SAME;

SAME* (*f(SAME SAME))(struct SAME SAME)
{  
  SAME(SAME);
  if (SAME.SAME == sizeof(SAME))
    goto SAME;
  else
  {
    enum SAME
    {
      SAME
    } loc = SAME;
  }
SAME:;
  return 0;
}

Re: Language Design

Posted: Wed Feb 01, 2017 9:45 am
by dchapiesky
Boris wrote:

Code: Select all

let smurf=smurf.smurf({smurf::SmurfedPtr<$murf>}="Hello , world")
That would confuse a bit more than millennials

The '$' is a touch of genius.... implies there is a 'murf' which can be cast to smurf.... but where are they? no one knows? did Azrael eat them?