PureObject - PureBasic OOP support

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

@inc,

OOP for PB.

That is the right way to go into the future with PureBasic.

Thanks!
(I belive I speak for the whole PB community)
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> OOP for PB.
> That is the right way to go into the future with PureBasic.
> (I belive I speak for the whole PB community)

Wrong. Previous threads have shown this is not true for the whole community.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
citystate
Enthusiast
Enthusiast
Posts: 638
Joined: Sun Feb 12, 2006 10:06 pm

Post by citystate »

doesn't matter - OOP for PB, whether it's used or not - is a pretty cool concept, and it just goes to show what can be done with this amazing and versatile language.

Thanks inc. this is my favorite addon
there is no sig, only zuul (and the following disclaimer)

WARNING: may be talking out of his hat
User avatar
IceSoft
Addict
Addict
Posts: 1616
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

Sorry...we should discuss only about the tool not about OOP for PB itself.

It was my mistake.
Belive!
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
Godai
Enthusiast
Enthusiast
Posts: 171
Joined: Thu Oct 05, 2006 8:13 pm

Post by Godai »

So Inc. How about that update you promised yesterday? ;)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

My mistake: I didn't realize you meant "OOP for PB" for the name. Sorry!
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

@ Godai
The update will be out these days as some other Addons will be integrated in one shot.
like ...
- abstract classes or Methods
- Adding new Polymorphism Keywords "Forced" and "Override"
Check out OOP support for PB here!
Godai
Enthusiast
Enthusiast
Posts: 171
Joined: Thu Oct 05, 2006 8:13 pm

Post by Godai »

Sounds good :)
User avatar
Maxus
User
User
Posts: 70
Joined: Thu Feb 16, 2006 9:35 am
Location: Russia
Contact:

Post by Maxus »

You have performed an analysis of only one file??
And if I want to use the permit IncludeFile I think that it will not?

P.S.
I just want to take a long time already written a Class PreProcessor.
I wonder how you can work.
I can also share their experiences.
Sorry my English, I'm Russian
AMT Laboratory
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

Let see if I can follow you ...
You have performed an analysis of only one file??
And if I want to use the permit IncludeFile I think that it will not?
Includefiles are supported and it works well. It has been tested on complex projects where many "includefile" calls do occur.
Like in the DX9 Example from Hellhound66 here: http://pb-oop.origo.ethz.ch/system/files/PBOOP_DX9.zip
Works here without problems! And for many others too. So if your install ends up in errors or whatever then it could be that you don't got the latest revision of the plugin or that the installation went wrong.

So, if you still have problems with Inlcude files on Windows Vista then do try this Version of the plugin :
http://pb-lounge.pb-club.de/viewtopic.php?p=51806#51806
I just want to take a long time already written a Class PreProcessor.
I wonder how you can work.
I can also share their experiences.
What are you trying to tell me?
1. That you have experiences on building parsers?
2. Or that you know people having such experiences?
Check out OOP support for PB here!
User avatar
Maxus
User
User
Posts: 70
Joined: Thu Feb 16, 2006 9:35 am
Location: Russia
Contact:

Post by Maxus »

I would say that that I have experience of writing parsers.
If I offended than you, then ask me to forgive.
Sorry my English, I'm Russian
AMT Laboratory
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

I dont feel offended at all. There's nothing why I should.
Check out OOP support for PB here!
inc.
Enthusiast
Enthusiast
Posts: 406
Joined: Thu May 06, 2004 4:28 pm
Location: Cologne/GER

Post by inc. »

Update:
http://pb-oop.origo.ethz.ch/download

1.0r64

- The Plugin doesn't come with an installer anymore. Detailed installation instructions for the IDE and jaPBe can be found in the project page.

- "DeleteObject" now calls the Destructor "Release()" automatically
- If no destructor has been declared or defined the preprocessor declares & defines them automatically
- PB 4.20 temporary fix by declaring the vt pointer as long using *vt.l
- Support of new keywords 'Force' and 'Fixed'
- Support of 'Abstract' classes

Added Support of:
- Defined(, #PB_Class)
- SizeOf()
- OffsetOf(\)
- "Procedure CLASS\Method()" when defining a method (more PB logical)


Changelog:
http://pb-oop.origo.ethz.ch/wiki/changelog
Check out OOP support for PB here!
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

i would like to give a try, so i downloaded "PureObject_Win32_1.0rev65.zip"

In the archiv there is a file 'OOP.exe' , when i run it, it ask for a file .pb ?

Is it an update ? must i have a previous version ? if yes, where can i download it ?

[EDIT]
:oops:

i was tired, all is ok now :)
Last edited by Comtois on Sun Jan 13, 2008 5:03 pm, edited 1 time in total.
Please correct my english
http://purebasic.developpez.com/
Godai
Enthusiast
Enthusiast
Posts: 171
Joined: Thu Oct 05, 2006 8:13 pm

Post by Godai »

Sweet update thanks :)
Post Reply