Oxygen Basic
Information => Open Forum => Topic started by: Aurel on March 21, 2014, 05:28:41 AM
-
Well we have here one new member Ed ;)
welcome man i hope that when you figure what is what that you will post
your 'toy-bytecode' written in oxygen.. :D
-
'toy-bytcode'
What is bytcode ?
-
It is new form of bytecode... ;D ;D ;D
-
welcome man i hope that when you figure what is what that you will post
your 'toy-bytecode' written in oxygen.. :D
I was thinking about doing that, but after reading and testing Oxygen Basic, I'm not sure there is a good reason for doing it. Since Oxygen Basic can compile and run code from memory (via compile), why would one want an interpreter (for some other language) written in Oxygen Basic? Just use Oxygen Basic. Or so it seems to me.
I mean, who wants an interpreter when you can have a compiler?
I may end up doing it anyway, just for fun. But bottom line is, who needs an interpreter with Oxygen Basic around? It is way cool.
-
Welcome Ed!
Looking forward to your input.
-
Hi Ed,
Welcome to the forum.
You are right, who needs an Interpreter.
Aurel only knows 4Bit can opener.
-
Aurel only knows 4Bit can opener.
Too funny !!!
-
4bit >:(
well who need, this can be good test and we can compare speed of FB version with
Oxygen version..right?
Ed when i ask you about your interpreter i don't mean compile in memory or
interpret bytecode in memory then in first place create bytecode file.
Advantage of bytecode file would be easy way to create standalone exe with
runtimeFile+bytecodeFile...right?
-
Hi Ed, Welcome to the forum!
It is easy to create new O2-based compilers, so you can use OxygenBasic to create your own customised Basic by adding functions and commands, or over-riding existing functions. There is plenty of scope for experimentation.
I'm studying GUIs at present. We clearly need some standard GUI, at least for beginners. The APIs we have to deal with are way too complex for casual programming. I like Peter's approach to simplified Windows Libraries, (especially the ones with visible source code :) ) but we need to extend the repertoire into text i/o and 3d.
-
Charles...
We clearly need some standard GUI
In awinh.inc i have used most standard way to create GUI elements...
ok it is not finished or completed but i can do that easy.
Peter aproach is good but only for games .
of course all this things can be solved by OOP aproach but this require extra work.
-
Why does everyone want to recreate the wheel all the time?
Lets give Charles a break on the interface side of O2 and let him work on the core. I think it should be up to the user of O2 to decide if they are brave/skilled enough to directly go after the WinAPI or use something like IUP. I think spending any significant time trying to define the Windows API is a waste of time while the company is going through major shifts in it's product lines. Who knows, MS could be the next to jump on board with Android. ???