First PureBasic, how was it compiled
First PureBasic, how was it compiled
As I understand it, the Pure Basic compiler is written in Pure Basic. This begs the question, how was the first compiler compiled? Sort of a chicken and egg question.
Re: First PureBasic, how was it compiled
Just a WAG, but the first PB ran on the Amiga. Perhaps Fred will chime in here, but he may have first retargeted that.
- Andre
- PureBasic Team
- Posts: 2058
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: First PureBasic, how was it compiled
Not the PureBasic compiler was written in PureBasic, but the PureBasic IDE, the debugger and so on.Jeff8888 wrote:As I understand it, the Pure Basic compiler is written in Pure Basic. This begs the question, how was the first compiler compiled? Sort of a chicken and egg question.
The PureBasic compiler itself was written in in ASM / C(++) as far as I know.
But I don't know the details...
Re: First PureBasic, how was it compiled
And from what I remember, the IDE wasn't written in PureBasic originally either; that change came around 2005 or something?
Re: First PureBasic, how was it compiled
On Windows it was compiled using Visual Studio2013?Andre wrote:Jeff8888 wrote: The PureBasic compiler itself was written in in ASM / C(++) as far as I know.
But I don't know the details...
PureBasic use parts of PellesC tools (linker, etc) to compile/link PB executables.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Re: First PureBasic, how was it compiled
As I remember from what I've read (cause I was able only to read some story, as me personally only started learning PB in 2014, after VB6/VB5 and other OOP-experience [and to be exact, there were times before VB, my first-first coding experience was in writing scripts in pseudo-code in Warcraft 3 World Editor, but well that's another story which I'm just remembering from nothing to do now^^)), it started from ASM.
Like:
"In the beginning were the Words,
and the Words made the world.
I am the Words.
The Words are everything.
Where the Words end the world ends.
You cannot go forward in an absence of space.
Repeat."
(yes this quote is also related to another nice PC game)
Then it moved to C, and finished in Web-coding (i.e. SpiderBasic).
Like:
"In the beginning were the Words,
and the Words made the world.
I am the Words.
The Words are everything.
Where the Words end the world ends.
You cannot go forward in an absence of space.
Repeat."
(yes this quote is also related to another nice PC game)
Then it moved to C, and finished in Web-coding (i.e. SpiderBasic).
"W̷i̷s̷h̷i̷n̷g o̷n a s̷t̷a̷r"