If i had 1000 € to offer for a PB feature...

Everything else that doesn't fall into one of the other PB categories.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by Fred »

:lol:
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: If i had 1000 € to offer for a PB feature...

Post by Tenaja »

srod wrote:
freak wrote:Sure you can get your own personalized PB version. But you have to add more zeroes to that number :wink:
How about 0001000 € then?

:D

Good one, srod!
:lol:

How about this one...
ob0001000
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: If i had 1000 € to offer for a PB feature...

Post by PMV »

oh srod, you know that he means behind!
what about up to 7 more zeros just for the PB team? :mrgreen:
10000000000(2)
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: If i had 1000 € to offer for a PB feature...

Post by Primoz128 »

PMV wrote:oh srod, you know that he means behind!
what about up to 7 more zeros just for the PB team? :mrgreen:
10000000000(2)
This one is the legendary xD
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by Zach »

I'm curious, what leads you to believe changing an entire programming languages Syntax is easy work, only worth the pitiful sum of €1,000 ?
xorc1zt
Enthusiast
Enthusiast
Posts: 276
Joined: Sat Jul 09, 2011 7:57 am

Re: If i had 1000 € to offer for a PB feature...

Post by xorc1zt »

Zach wrote:I'm curious, what leads you to believe changing an entire programming languages Syntax is easy work, only worth the pitiful sum of €1,000 ?

Code: Select all

#include <stdio.h>

#define CHECK(statement) if(statement){
#define ENDCHECK }
#define WITH (
#define IS
#define BEGIN ){
#define PONG return
#define PROCEDURE
#define ENDPROCEDURE }
#define NONE void


PROCEDURE float IS RetFloat WITH
    float a,
    float b
BEGIN
    CHECK(a > b)
        PONG a - b;
    ENDCHECK

    PONG a + b;
ENDPROCEDURE


PROCEDURE int IS main WITH
    NONE
BEGIN
    printf("returned %f\n", RetFloat(4,5));

    //---------------------------------
    //-------------- END --------------
    //---------------------------------
    printf("\n\n *** press any key to exit ***");
    getchar();
    PONG 0;
ENDPROCEDURE
:lol:
User avatar
Primoz128
Enthusiast
Enthusiast
Posts: 212
Joined: Sat Sep 10, 2011 8:25 pm
Location: Slovenia

Re: If i had 1000 € to offer for a PB feature...

Post by Primoz128 »

Zach wrote:I'm curious, what leads you to believe changing an entire programming languages Syntax is easy work, only worth the pitiful sum of €1,000 ?
You seriously don't understand a joke, or curiosity. Fred could have done it for free if he wanted it's not like he has to make an entire language from scratch .
And no i don't know how much it takes for a syntax to be done, but i did see quite a massive collection of programing languages on the wiki, which gives the impression that it's not hard at all.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: If i had 1000 € to offer for a PB feature...

Post by srod »

Depends how the compiler is organised, but I doubt very much that it would be a simple task.

If the compiler generated some kind of intermediate code then you could imagine that you might well be able to switch the 'front end' of the compiler without too much fuss (though writing a new front-end wouldn't necessarily be a simple task in itself!)

But, a dump truck load of cash aside for the moment, why would Fred want to alter the syntax of PB? It's his baby after all. It is what it is and is the way that Fred intended it to be.

Now if you were to drive this dump truck load of cash to my house (and leave me the keys) then I'd have a crack at modifying the syntax for you. Heck, I'd pull a Higgs Boson out of my butt for a dump truck load of cash! :)
I may look like a mule, but I'm not a complete ass.
User avatar
TI-994A
Addict
Addict
Posts: 2699
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by TI-994A »

freak wrote:Sure you can get your own personalized PB version. But you have to add more zeroes to that number :wink:
Well said!
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Seymour Clufley
Addict
Addict
Posts: 1264
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: If i had 1000 € to offer for a PB feature...

Post by Seymour Clufley »

Can't you just write a preprocessor?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: If i had 1000 € to offer for a PB feature...

Post by Tenaja »

Primoz128 wrote:I shall organise my brain ... wait for it...

Uh oh... i had a change of hearts... i LOVE PB Syntax now !!! >,> silly me didn't go trough tutorials thoroughly.
So, what aspect did you miss, and now suddenly understand?
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by Zach »

I think it was the part where he says something that makes sense.
endo
Enthusiast
Enthusiast
Posts: 141
Joined: Fri Apr 30, 2004 10:44 pm
Location: Turkiye (istanbul)
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by endo »

I'm ok with Basic syntax. But to be honest I should say putting "basic" into the name of the language make it less valueable for many. We can simply say we don't need them, right, but even my boss says "why do you use basic?" and he ashame to tell to customters that we use a Basic language..
I already know that it IS silly, but I'm sure if the name was P# or something without "basic", it would be more popular, respectful.
And we wouldn't hear that "oh you did this game using a game maker?" -NO! Purebasic is much more lower level than C# or Java or Flash, almost as C. But just because of the "basic" in the name some/many people never use it.
-= endo (registered user of purebasic since 98) =-
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: If i had 1000 € to offer for a PB feature...

Post by Danilo »

endo wrote:But just because of the "basic" in the name some/many people never use it.
PureBasic offers just basic, simple things. So the "basic" in the name is 100% correct.
PB supports only pure basic things for the platforms Windows, Linux, MacOS.
Even selecting a specific text in a string or editor gadget, or getting the selection and selected text,
is not supported cross-platform, so "basic" is already a very good description because PureBasic, in reality,
does not support the most basic things. It is just logic why not more people use pure basic things.
endo
Enthusiast
Enthusiast
Posts: 141
Joined: Fri Apr 30, 2004 10:44 pm
Location: Turkiye (istanbul)
Contact:

Re: If i had 1000 € to offer for a PB feature...

Post by endo »

The "basic" in the name is not there because it is basic or not. It is there because it is a BASIC-clone language. It stands for BASIC-Language not for being basic.
And the problem is people ashame to use BASIC languages (languages based on Basic, sytax etc.) doesn't matter how fast/powerful/low level it is. Because BASIC was always slow, high level (incapable of doing low level things) it was like it is for kids to learn programming (I'm talking about 80s), but the feeling about BASIC is still like that.
Normally it is not a problem, I'm happy with it and I'm using it, but it keeps other communities and people away and it affects the populatiry.
Silly but it is.
-= endo (registered user of purebasic since 98) =-
Post Reply