Page 1 of 2

Anyone wrote a (full featured) programming language?

Posted: Thu Mar 15, 2007 1:52 pm
by merihevonen
It doesn't matter if it was programmed in PureBasic, C, C++ or something else.. but I would be very interested to see what kind of programming languages you people have done.

I guess it could be just that because I am trying to write my own, I could pick up some design of some other languages to produce the ultimate language (well, PureBasic is already the ultimate, but aren't we all greedy ;))

Posted: Thu Mar 15, 2007 2:41 pm
by Killswitch
I've never managed to write a full featured programming language as you call it, but I've done a fair bit:

http://www.purebasic.fr/english/viewtop ... highlight=
http://www.purebasic.fr/english/viewtop ... highlight=
http://www.purebasic.fr/english/viewtop ... highlight=

They're a mixture of interperters and 'true' compilers - some are a lot better than others! I don't think I shared the source for all of them, but I'm more than willing to make it available, if you'd like it.

P.S - If you don't already know about it, look into 'Reverse Polish Notation' - it helps!

Posted: Thu Mar 15, 2007 4:07 pm
by Kaeru Gaman
merihevonen wrote:Anyone wrote a (full featured) programming language?
I know one...

His name is Frédéric Laboureur and maybe you can meet him in this forum....

:wink: :lol:

Posted: Thu Mar 15, 2007 8:11 pm
by merihevonen
Thanks for the links Killswitch!

Posted: Fri Mar 16, 2007 3:13 am
by dracflamloc
Guess it depends on what your definition of full-featured is?

Posted: Fri Mar 16, 2007 7:55 am
by merihevonen
dracflamloc wrote:Guess it depends on what your definition of full-featured is?
Has the most basic features such as constants, structures, arrays, operators, etc..

Posted: Fri Mar 16, 2007 4:22 pm
by Rook Zimbabwe
I have been using this new language called PB!

Dracscript seems like that language idea you mentioned...

I was wondering if PB could not be used to create an Operating system... have to get out the ASM textbooks from college to see what ASM we created... Hmmm...

Posted: Fri Mar 16, 2007 5:42 pm
by yoxola
The REAL full featured langauge contains these functions:

MakeGame(Name, Genre, Quality, 2Dor3D, PlayTime...etc)

MakeApp(Name, Usage, Quality, Speed...etc)

and this....

MakeMoney(Currency, Amount, BankAccount...etc)

j/k, feel free to flame/add this list....

Posted: Fri Mar 16, 2007 6:25 pm
by merihevonen
yoxola, you forgot the most important one :P
MakeGirlfriend(Name, Age, WaistSize, SlimOrFat, IsSexy, IsWhore)

So to have an 18-year old sexy and slim 34D cup sized whore named Kimberly:
MakeGirlfriend("Kimberly", 18, #WaistSize_34D, #Slim, #True, #True)

If Fred would implement that to PureBasic then I would buy it for thousands! :lol:

Posted: Fri Mar 16, 2007 7:13 pm
by thefool
For you, MEHRI, as you are a girl perhaps a MakeBoyfriend() should be done.
Or perhaps the rest of us would like to watch the other one more?


:shock: :shock: :shock: :shock: :shock: :shock:

Posted: Fri Mar 16, 2007 8:42 pm
by zikitrake
merihevonen wrote:yoxola, you forgot the most important one :P
MakeGirlfriend(Name, Age, WaistSize, SlimOrFat, IsSexy, IsWhore)

So to have an 18-year old sexy and slim 34D cup sized whore named Kimberly:
MakeGirlfriend("Kimberly", 18, #WaistSize_34D, #Slim, #True, #True)

If Fred would implement that to PureBasic then I would buy it for thousands! :lol:
I will buy a full-license of this language!!! :lol:

Posted: Fri Mar 16, 2007 9:35 pm
by LuCiFeR[SD]
I'd consider buying that program too, if the girlfriends boobs weren't on her waist :lol:

Posted: Fri Mar 16, 2007 9:40 pm
by merihevonen
thefool wrote:For you, MEHRI, as you are a girl perhaps a MakeBoyfriend() should be done.
Or perhaps the rest of us would like to watch the other one more?


:shock: :shock: :shock: :shock: :shock: :shock:
I'm not MEHRI!

Posted: Sat Mar 17, 2007 12:12 am
by thefool
merihevonen wrote:I'm not MEHRI!
MEHRI MEHRI MEHRI MEHRI MEHRI MEHRI MEHRI MEHRI MEHRI

:lol:

Posted: Sat Mar 17, 2007 12:26 am
by ricardo
merihevonen wrote: MakeGirlfriend("Kimberly", 18, #WaistSize_34D, #Slim, #True, #True)
Should be like this:

GetGirl(Name, colorOfEyes,ColorOfHair,IQ,Body)

The perfect code shoulde be then:

GetGirl(#DosentMatter, #DosentMatter, #DosentMatter, #DosentMatter, 90-60-90)