Author Topic: My Oxigen BASIC impression...  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 1037
  • User-Rate: +30/-4
    • it-berater
Re: My Oxigen BASIC impression...
« Reply #15 on: July 13, 2022, 05:58:32 PM »
Hallo Charles,
did you ever want to go into Chemistry?

Seeing all the names you use.  ;D

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 799
  • User-Rate: +33/-1
    • Charles Pegge
Re: My Oxigen BASIC impression...
« Reply #16 on: July 16, 2022, 04:05:33 PM »
Hi Theo,

Co2 for the compiler and Oxide for the IDE, are quite a good fit. And I have a more powerful tool then Oxide: perhaps it should be called Peroxide :)

Offline Eduardo Jorge

  • Full Member
  • ***
  • Posts: 116
  • User-Rate: +0/-0
Re: My Oxigen BASIC impression...
« Reply #17 on: July 17, 2022, 03:50:55 AM »
You are talking about chemistry, and I was just researching the chemical interactions of certain supplements, because I made a mixture to make it easier to use and followed the color and the effects on the body.
then I found out that the color changed because vitamin c mixed with magnesium malate has reactions, malic acid with ASCORBIC ACID changed the chemistry of my mixture and gave my memory a boost

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 799
  • User-Rate: +33/-1
    • Charles Pegge
Re: My Oxigen BASIC impression...
« Reply #18 on: July 18, 2022, 04:50:40 PM »
Very interesting Eduardo,

I take Magnesium Oxide tablets, good for treating coder's burnout, and readily available. I think it's mitochondria
which require high levels of Magnesium.

Offline Chris Chancellor

  • Sr. Member
  • ****
  • Posts: 349
  • User-Rate: +0/-0
Re: My Oxigen BASIC impression...
« Reply #19 on: July 23, 2022, 05:24:08 PM »
Welcome Pierre,  O2 is a very flexible programing language it is very a good replacement for the PB which is no longer
under development. 
Hope that more & more PB programmers come over here

Offline Pierre Bellisle

  • JK-Mitglieder
  • Full Member
  • *
  • Posts: 108
  • User-Rate: +12/-7
Re: My Oxigen BASIC impression...
« Reply #20 on: July 29, 2022, 03:14:30 AM »
@Pierre, Sorry i pressed the wrong Button and changed your Post instead of posting an answer.
Maybe you can repost it ?
(Theo)

@Charles, Pierre asks ,if there is a way to use the compiler completely silent and have all I/O redirected,
so he can integrate it transparently in his IDE. This sounds good to me.

Mean, if the Compiler Output could be completely redirected to a given file (given at compiler-call),
then a external Editor-Program or Script could automatically use this Information.
« Last Edit: August 01, 2022, 11:29:57 AM by Theo Gottwald »

Offline Pierre Bellisle

  • JK-Mitglieder
  • Full Member
  • *
  • Posts: 108
  • User-Rate: +12/-7
Re: My Oxigen BASIC impression...
« Reply #21 on: August 01, 2022, 05:59:24 PM »
Hey,
Thank for the welcome Chris.

-

Using UltraEdit as editor with my own precompiler utility,
I was wondering if te o2 mbox error message could also give a column in addition to the line number.
This way I could put the editor caret exactly at the right position.
Presently, I manage the mbox, read it, and close it.

I was also thinking if it could be possible to have a log file instead of the mbox, a silent way as Theo describe it.
This would avoid the few miliseconds mbox appearence flash before I close it.
No big deal if you don't like the idea.

An even better option could be to fill the text clipboard, or create a custom clipboard for o2.
With a text clipboard, my precompiler could save the clipboard content before calling o2 compiler, call o2, read the o2 clipboard, restore the original clipboard content.
A custom clipboard would be nice. Look Ma, no file!   :~)

-e clip
-e file

Regards, Pierre
« Last Edit: August 01, 2022, 06:10:45 PM by Pierre Bellisle »

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 799
  • User-Rate: +33/-1
    • Charles Pegge
Re: My Oxigen BASIC impression...
« Reply #22 on: August 01, 2022, 09:58:17 PM »
Hi Pierre, Theo,

I'm working on it:

co2 modified to produce a compiler report co2.txt which includes any error message and also compilation statistics. You can then use the -m option to suppress the message-box.

But it can't always give an accurate column position for errors.

a successful compile would generate co2.txt like this:
Code: [Select]
COMPILATION DATA:

c:\cevp\code\oxygenbasic\demos\opengl\glsl\glml38.o2bas

output file name:
output file length: 0

source files: 28
source lines: 31739
source word parsing: 32787
source length: 1022078
assembler script length: 296139
machine script length: 269726

record size: 36
static record count: 9136
static records length: 328896
static record string space: 541653
static var space: 60096
procedures: 171
source buffer insert patches: 14290
source buffer insert renew: 16
max link labels: 208
binary image size: 135168

An error message would be positioned at the beginning of co2.txt:
Code: [Select]
ERROR: Member not found : boa.rrelease
WORD: boa.rrelease
PROC: main
COL: 7
LINE: 38
FILE: "main source"

COMPILATION DATA:

c:\cevp\code\oxygenbasic\demos\opengl\glsl\glml38.o2bas

...
« Last Edit: August 01, 2022, 10:09:40 PM by Charles Pegge »

Offline Pierre Bellisle

  • JK-Mitglieder
  • Full Member
  • *
  • Posts: 108
  • User-Rate: +12/-7
Re: My Oxigen BASIC impression...
« Reply #23 on: August 02, 2022, 05:40:21 PM »
Thank you Charles!

It's gonna be great.
All I need now is more time to play with this superb toy...

Pierre

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 799
  • User-Rate: +33/-1
    • Charles Pegge
Re: My Oxigen BASIC impression...
« Reply #24 on: August 07, 2022, 05:37:41 PM »
Hi Pierre,

I have uploaded a pre-version of 050 for you to try.

co2.txt is saved after each compile in the same directory as co2.exe

https://github.com/Charles-Pegge/OxygenBasic/blob/master/OxygenBasic050P.zip

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 1037
  • User-Rate: +30/-4
    • it-berater
Re: My Oxigen BASIC impression...
« Reply #25 on: August 07, 2022, 08:04:42 PM »
Charles, the good thing is that we have the direct line to you so small wishes can get full filled.
It was never easy with PB to really get individual wishes fullfilled.
I remember that i asked for "Modules" and got "OBJECTS".
Long Years ago. :-)


Offline Chris Chancellor

  • Sr. Member
  • ****
  • Posts: 349
  • User-Rate: +0/-0
Re: My Oxigen BASIC impression...
« Reply #26 on: August 08, 2022, 12:06:44 AM »
Theo  you say it right

PB has gone to the dumps,  with zero development activity
Thank you once again to both Theo and Charles for keeping O2 alive

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 1037
  • User-Rate: +30/-4
    • it-berater
Re: My Oxigen BASIC impression...
« Reply #27 on: August 09, 2022, 07:15:24 AM »
@Chris, in this case thanks goes solely to Charles and I think Nicola was very active testing.
My state here is only to watch development. And i must say that Charles does good work, taking into account that his situation is not easy.

Let me add that if you mix Magnesium Oxide to Ascorbic Acid that you get Magnesium-Ascorbate which is a sort of Vitamin C but has other usages.
Here i a Recipe where you get a violet, Coloa Like Vitamin C:

Theos Vitamin C Power Trunk
« Last Edit: August 09, 2022, 07:24:04 AM by Theo Gottwald »

Offline Eduardo Jorge

  • Full Member
  • ***
  • Posts: 116
  • User-Rate: +0/-0
Re: My Oxigen BASIC impression...
« Reply #28 on: August 10, 2022, 06:39:48 AM »
I don't know what turned
I mixed
Citrulline Malate, Ascorbic Acid, Taurine, Ornithine, D-Ribose,
Magnesium Chloride, Magnesium Sulfate, Malic Acid
by the color change which only happens with the addition of malic acid, probably the Ascorbic acid turned into Dehydroascorbic acid which is a (DHA)
Vitamin C does not pass from the bloodstream to the brain, although the brain is one of the organs that has the highest concentration of vitamin C. Instead, DHA is transported across the blood-brain barrier via GLUT1 transporters and then converted back into ascorbate
I think that's what happened, which improved my and my mother's memory very quickly,
the other things together should have effects like stabilizing her physique and giving her more energy, even I think I'm building some muscle mass even though I'm very sedentary, and the use is not exaggerated and not so continuous

Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 1037
  • User-Rate: +30/-4
    • it-berater
Re: My Oxigen BASIC impression...
« Reply #29 on: August 10, 2022, 05:47:53 PM »
Sounds very interesting. I will check if i can get "Dehydroascorbic acid" directly.
Also interesting, if you take Galactose instead of D-Ribose.
The Taurine i would leave away. And Instead of MgSO4 i would probably choose Magnesiumascobate.