The *benefits* of a single pass compiler

Everything else that doesn't fall into one of the other PB categories.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

The *benefits* of a single pass compiler

Post by Justin »

just realized that you can't do this :?

Code: Select all

Structure SB
	a.l
	b.SA
	c.w
EndStructure 

Structure SA
	a.l
	b.SB
EndStructure

Interface ia
	f1(i.ib)
EndInterface

Interface ib
	f1(i.ia)
EndInterface
hopefully PB4 will do such complicated things
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Arrrgghhh... some people... I won't say any more.

Have a look at this:
Structure SApple
peal.l
core.SCore
EndStructure

Structure SCore
stones.l
parent.SApple
EndStructure

What you want is to put SCore into SApple, but inside SCore you have SApple, and inside SApple you have SCore and inside SCore you have SApple and inside SApple you have SCore and inside SCore you have

[...]
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Come on Trond, you didn't have to post >64K of text just to get your point across. :roll:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

über lol :D
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

PB wrote:Come on Trond, you didn't have to post >64K of text just to get your point across. :roll:
Yeah, dialup users probably prefers single pass compilers. :wink:
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Yeah, dialup users probably prefers single pass compilers. :wink:

I'm on 1500 ADSL actually, but your 64K of text made me scroll the page for
ages, and I'm a lazy person who despises being forced to do things like that. ;)
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Justin
Addict
Addict
Posts: 948
Joined: Sat Apr 26, 2003 2:49 pm

Post by Justin »

ok, i complained to fast. using a pointer will work. as for interfaces you have to use a pointer to the object structure instead of the interface.
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Bonne_den_kule wrote:über lol :D
:? over laughing over loud?

Recursive structures will do S.M. with your RAM
bye,
Daniel
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Trond wrote:Arrrgghhh... some people... I won't say any more.

Have a look at this:
Structure SApple
peal.l
core.SCore
EndStructure

Structure SCore
stones.l
parent.SApple
EndStructure

What you want is to put SCore into SApple, but inside SCore you have SApple, and inside SApple you have SCore and inside SCore you have SApple and inside SApple you have SCore and inside SCore you have

[...]
I'll guess this post has been edit?!? :lol:
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

techjunkie wrote:
Trond wrote:Arrrgghhh... some people... I won't say any more.

Have a look at this:
Structure SApple
peal.l
core.SCore
EndStructure

Structure SCore
stones.l
parent.SApple
EndStructure

What you want is to put SCore into SApple, but inside SCore you have SApple, and inside SApple you have SCore and inside SCore you have SApple and inside SApple you have SCore and inside SCore you have

[...]
I'll guess this post has been edit?!? :lol:
Actuall I had even written something more at the end of it but it was cut off when I submitted because of the demonstration. So I hit a hard post length limit. And now it's edited.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> I'll guess this post has been edit?!? :lol:

Yep, I assume Trond graciously modified it after my comment. :)
Until then, it may have been the longest post ever made here?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

PB wrote:> I'll guess this post has been edit?!? :lol:

Yep, I assume Trond graciously modified it after my comment. :)
Until then, it may have been the longest post ever made here?
Me? I thought it was you.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

PB wrote:I'm on 1500 ADSL actually, but your 64K of text made me scroll the page for
ages, and I'm a lazy person who despises being forced to do things like that. ;)
Do they still use 1500 kbps connections? :shock: :roll:
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Me? I thought it was you.

Not me. If I was going to edit it, I would have just snipped 90% of the
middle part and said nothing, but I commented instead and assumed you
went and changed it due to that (you did say "and now it's edited" which
I thought meant you did it).

> Do they still use 1500 kbps connections?

Yep; what's the norm where you are?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Right now I have 4 mbs, in Sweden they have really cheap 100 mbs which I'm expecting here too shortly, also the government has decided that Telenor, the biggest teleoperator in the country must drop its prices by 40% ;)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply