PlanetSquires Forums

Support Forums => General Board => Topic started by: Elias Montoya on July 11, 2010, 11:48:25 PM

Title: Well... its finally geting close to done...
Post by: Elias Montoya on July 11, 2010, 11:48:25 PM

Wow. Right? Making php scripts in this thing is a breeze. This pictures show very small
example, but we have worked in huge ones as well.

We have worked really hard in this project.
Title: Re: Well... its finally geting close to done...
Post by: Elias Montoya on July 12, 2010, 01:21:20 AM
Oh... and yes. Numeric variables can store strings and vice versa. Just like in PHP.
Title: Re: Well... its finally geting close to done...
Post by: Rolf Brandt on July 12, 2010, 02:50:24 AM
Look very interesting, Elias.
From what I grasp it is a BASIC -> PHP Converter, or?

Might be a good tool also for learning PHP.

Do you already have a market price in mind?
Title: Re: Well... its finally geting close to done...
Post by: David Kenny on July 12, 2010, 03:42:17 AM
Does this mean you didn't sell it?  That would be good news!

David
Title: Re: Well... its finally geting close to done...
Post by: Elias Montoya on July 12, 2010, 01:44:09 PM
 'I' havent sold it yet. But I am working closely to other people who might want to sell
and my share could be very small.

Rolf, i dont have a price in mind, i think i will not decide that. I hope i can get at least enough
to go on (on a personal note, i need residual income because i plan to go to isolated territory).

And yes... at least it was very interesting and i learned a lot of things.

It was very hard to allow LOCAL and GLOBAL and STATIC variables of all kinds, UDT's, Arrays
and regular variables. Imagine translating this:

Some.Very(1).Large.Udt(34).that.will.be.Translated = "test"

to this when global:

$GLOBALS['some']['very'][1]['large']['udt'][34]['that']['will']['be']['translated'] = "test";

or this when static  or local:

$some['very'][1]['large']['udt'][34]['that']['will']['be']['translated'] = "test";

  We have to check if elements are valid, correct, have dimensions, defined for the
current module... etc... etc.. etc...

Now imagine checking bounds for that dimensional elements...

But it all works. In a very elegant way. and way more easier than PHP. and it only takes
a fraction of a second to translate a big file. Not as fast as PB, but it is fast.

I dont have the final word about the price... but i would like to know what you guys think.
:)


P.S.
Yes. One of the uses you can give to this tool is learning php. But once you learn php you will not
like to use the cryptic syntax it has!!!

And there will be a demo soon.












Title: Re: Well... its finally geting close to done...
Post by: Elias Montoya on July 12, 2010, 01:50:19 PM
 Oh by the way.... it is not a translator. You can translate 'some' of the code you have, since it is
significantly compatible, but its a complete programing environment. You can start a project, and
finish it in it. You can even embed forms in the file, just like PB does with $RESOURCE.

Just wait and see... it is amazing. If you have a variable named "somevariable", and you embed an HTML
file  in your script, and your HTML contains a reference to "somevariable" (in this format: <!somevariable>),
the script outputs the HTML form replacing the variable reference with the variable contents. It is awesome!!!
Title: Re: Well... its finally geting close to done...
Post by: Rolf Brandt on July 12, 2010, 02:41:17 PM
Sounds great, Elias. I am looking forward to the demo.
Title: Re: Well... its finally geting close to done...
Post by: Rolf Brandt on July 12, 2010, 02:50:39 PM
Elias,
my best wishes for your private plans. Hope everythings works out good for you.