OSDev.org https://forum.osdev.org/ |
|
Language Design https://forum.osdev.org/viewtopic.php?f=13&t=30867 |
Page 5 of 5 |
Author: | glauxosdever [ Sun Jan 29, 2017 9:35 am ] |
Post subject: | Re: Language Design |
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 |
Author: | dchapiesky [ Tue Jan 31, 2017 3:27 pm ] |
Post subject: | Re: Language Design |
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... |
Author: | Boris [ Wed Feb 01, 2017 1:26 am ] |
Post subject: | Re: Language Design |
Code: let smurf=smurf.smurf({smurf::SmurfedPtr<$murf>}="Hello , world") That would confuse a bit more than millennials |
Author: | alexfru [ Wed Feb 01, 2017 2:47 am ] |
Post subject: | Re: Language Design |
Boris wrote: Code: let smurf=smurf.smurf({smurf::SmurfedPtr<$murf>}="Hello , world") That would confuse a bit more than millennials How about some C? Code: #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; } |
Author: | dchapiesky [ Wed Feb 01, 2017 9:45 am ] |
Post subject: | Re: Language Design |
Boris wrote: Code: 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? |
Page 5 of 5 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |