Page 1 of 4
PB written by which language?
Posted: Sat Jan 09, 2010 5:09 pm
by gabriel
hello:
Just a curious question: PB is written by which language??
thanks
Re: PB written by which language?
Posted: Sat Jan 09, 2010 5:17 pm
by srod
The compiler itself I believe is written in C and compiled with VS etc. The user-libs are written in a combination of C and ASM. The IDE is written in PB.
Re: PB written by which language?
Posted: Sat Jan 09, 2010 5:19 pm
by gabriel
thanks!
Re: PB written by which language?
Posted: Sat Jan 09, 2010 5:52 pm
by Blue Steel
lol... guess what language they are going to try to use ... the language that wrote this one .. lol I bet you

rational of non programmers... that language wrote this one so its better ..
Re: PB written by which language?
Posted: Sat Jan 09, 2010 6:03 pm
by Fred
srod is completely right (damn !).
Re: PB written by which language?
Posted: Sat Jan 09, 2010 6:23 pm
by srod
Blue Steel wrote:lol... guess what language they are going to try to use ... the language that wrote this one .. lol I bet you

rational of non programmers... that language wrote this one so its better ..
And the initial 'bootstrapping' compiller would have been written is ASM which means that we are all daft for not using ASM!
Fred wrote:srod is completely right (damn !).
Right, in that case I am switching to C - it must be a better language to use!

Re: PB written by which language?
Posted: Sat Jan 09, 2010 6:43 pm
by Fred
Believe me, it's not

.
Re: PB written by which language?
Posted: Sat Jan 09, 2010 6:44 pm
by srod
Fred wrote:Believe me, it's not

.
This lad needs no convincing of that.

Re: PB written by which language?
Posted: Sat Jan 09, 2010 7:47 pm
by ferty
What about the linux version ????.
Re: PB written by which language?
Posted: Sat Jan 09, 2010 8:26 pm
by ts-soft
ferty wrote:What about the linux version ????.
the same, but compiled with GCC
Re: PB written by which language?
Posted: Sat Jan 09, 2010 10:22 pm
by Foz
Out of sheer morbid curiosity, is the PB language and features at a point where it could become a self-hosting compiler?
Re: PB written by which language?
Posted: Sat Jan 09, 2010 10:34 pm
by blueznl
I see no reason why not. But hey, so could pretty much any language, as long as it would direct access to files and is able to manipulate data on byte level

Re: PB written by which language?
Posted: Tue Jan 12, 2010 9:50 am
by the.weavster
Can/could the PureBasic compiler output C code?
Re: PB written by which language?
Posted: Tue Jan 12, 2010 9:52 am
by Fred
Nop.
Re: PB written by which language?
Posted: Tue Jan 12, 2010 11:00 am
by milan1612
Fred wrote:Nop.
It would be possible though? What amount of work would you reckon it'd be for you?