• Welcome to Jose's Read Only Forum 2023.
 

Is Charles Pegge ok?

Started by Karen Zibowski, July 05, 2020, 08:35:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Charles Pegge

There is no obvious way to edit the SourceForge page. It is all dumbed down.

Zlatko Vid

Charles
I have sourceForge page but there is no any software status
see here :
https://sourceforge.net/projects/micro-a-interpreter

i really don't have a clue why is that on Oxygen sF page ???

Charles Pegge

Thanks Johan :)

Roland and me are working on RosettaCode tasks. Many of the 1000+ tasks listed are computationally significant:

https://rosettacode.org/wiki/Category:OxygenBasic

Nicola_Piano

Hi Charles,
I am very happy to see this further update. Thanks for your kind work.

What are the things that you have changed or completed? What are the differences compared to the previous version?

Many greetings. :)

Charles Pegge

Hi Nicola,

Mostly internal changes and fixes, which are recorded in inc/OXSC/Oxylog.txt

but some additions:

Pseudo commands similar to PowerBasic
chr(s,i)= character
wchr(s,i)= wide character
asc(s,i)= byte
unic(s,i)= word

and secondary keywords in the metalanguage:
#if leftmatch symbol, string
#if rightmatch symbol, string
#if anymatch sybol string

Many thanks for your  manual work. The o2 manual is automatically generated from inf/o2keyw.dat and various html pages.
A typical entry looks like this:

Quote
key:      "redim 18"
action:   create or resize a dynamic array, preserving contents within range
use:      extend or reduce an array size at run-time
example:  redim string s(n)
remarks:  to flush an array's contents, redim it with 0 elements first. But avoid
  doing this with arrays of strings; the orphaned strings are not garbage-collected
  until the end of the program, and will accumulate on each iteration where the redim
  reduces the number of elements.
related:  dim, new
group:    system macro
updated:  10/03/2017
.


I would be delighted to incorporate any modifications or additions you would like to see, along with additional html pages.


Zlatko Vid

That is interesting Charles
I am not sure that i need this additions (power basic like )
but can be useful for sure

thanks

Chris Chancellor

Great work and Thanxx alot  Charles and Roland
to place O2 in Rossetta code

We are ok with Power Basic like syntax to help us to convert PB programs into O2

We would also like Roland to join us in this forum to make it a much better forum than that stupeed scrip basic forum

Theo Gottwald

Your work is a good test for the reliability of the product, Zlatko.
I like the idea to make it a bit more Powerbasic-like.
Because there are still some people out there who look around "where to go about x64 from PB".

Theoretically even an Editor that you can load PB-Code into,
and that internally converts the Oxygen Syntax to PB-like Syntax would be enough
to compile many PB-Programms to X64.

Zlatko Vid

PowerBasic to o2 code translator already exists but i cannot remember
the name of author and i don't know what is the status ..maybe eduardo
or something similar.

Theo Gottwald

I think it would need an dedicated Editor Program, where it is integrated.
Just a converter?
That would need to be really compatible if it has to be used from PB-IDE.

Chris Chancellor

That converter is called Pluribasic by Brian Alvarez

www.pluribasic.com

not sure how good it is as it seems to have no progress since Jul 2021?


Johan Klassen

#42
I followed Brian's endeavor with interest, but he seems to have vanished and his domain has expired
Quotepluribasic.com has expired

Theo Gottwald

He had financial problems, I think.
He really thought to get a living with programming in a niche market.
Which is pure phantasie.
I have told him that its very unlikely to earn a living in a niche Market like PB.
Especially as a single developer.
I know that he tried several things to get money ... but as we all know even Powerbasic itself
was never a good business and always "In dept" to some degree.
Such niche markets like PB you can only do for fun.
This is something you need to know when you make these programs.

Charles Pegge

Working with Brian was very stimulating though I can see where we got into a few problems. I hope we hear from him again soon.

So I've been thinking about  ways to improve language support. One way is to enable direct integration of language-extensions into the compiler dll source.

With full access to all the compiler functions and state variables, this would make it much easier to derive new self-compiling languages from oxygen.dll.

I'll make it the focus of release 0.5.0 :)