Ooops
May 25, 2020, 12:34:30 PM

Author Topic: o2Basic - micro(A) Interpreter  (Read 1558 times)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 1711
Re: o2Basic - micro(A) Interpreter
« Reply #15 on: April 02, 2020, 12:08:25 PM »
Nice work.
I wrote a complete language for VJ work called 'Mangle'. This was the built in editor:

it checked and corrected syntax as you typed. It was sort of based on basic but with specific images and graphic commands for VJ's:
Code: [Select]
SYS-NOWELCOME
DEFINE INT temp 0, 360
DEFINE INT x 0, SYS_WIDTH
DEFINE INT y 0, SYS_HEIGHT
BEGIN
CLS
CONVERT VJO_INT0 TO x
CONVERT VJO_INT1 TO y
GETANGLE temp SYS_H_WIDTH, SYS_H_HEIGHT, x, y
LINE SYS_H_WIDTH, SYS_H_HEIGHT, x, y
PRINT "angle = %temp%"
END

There was only one command per line allowed so it made for much simpler syntax and tokenizing
variables were explicitly defined with a type, name and min/max values - using this means you could automatically check for out of bounds and convert from one range to another instantly

an example output would be:

Where the input was a single flower png with an alpha channel.
The flower was then drawn at different place with different scales giving the above result

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #16 on: April 02, 2020, 04:35:19 PM »
WOW  ;)
That is really cool man !...and nice design iWasAdam .

for round157...yes i have one of them as Logo

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #17 on: April 02, 2020, 04:48:06 PM »
I stil work on preprocessor..pass1

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #18 on: April 05, 2020, 11:27:28 AM »
Just small info about micro(A) varTable construction:

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #19 on: April 09, 2020, 02:58:33 PM »
I don't want to waste my free time with unstable new programming languages
(maybe when i become in a mood to test it... )
and i back to my own development( to create safe++ language interpreter).  ;D
So far method with varID work .

Offline round157

  • Sr. Member
  • ****
  • Posts: 347
Re: o2Basic - micro(A) Interpreter
« Reply #20 on: April 10, 2020, 12:41:32 AM »
So far......

Hello...I am always curious. What is the completion percentage of this project(the interpreter of micro(A))? Thanks.

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #21 on: April 10, 2020, 08:08:46 AM »
Quote
Hello...I am always curious.
That is good...
It is still in a very early stage ...it is slow process.
(Testing error checking..etc)
Do you understand something of this?

Offline round157

  • Sr. Member
  • ****
  • Posts: 347
Re: o2Basic - micro(A) Interpreter
« Reply #22 on: April 11, 2020, 09:18:03 AM »

Do you understand something of this?

Oh...I don't.:)

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #23 on: April 11, 2020, 10:59:38 AM »
Oh no..you can understand it if you look into code.
Is that hard for you to look into code ?
Do you any coding lately?

Offline round157

  • Sr. Member
  • ****
  • Posts: 347
Re: o2Basic - micro(A) Interpreter
« Reply #24 on: April 15, 2020, 04:18:23 PM »
Is that hard for you to look into code ?

I am not clever enough in understanding that code. 

Quote
Do you any coding lately?

The real life of everyone on Earth is seriously being influenced by this new coronavirus. For example, our jobs. Now many things are much more important than hobby programming.???


Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #26 on: April 15, 2020, 08:11:30 PM »
...and continued,tweaking expr evaluator to work with variables and window

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #27 on: April 17, 2020, 07:32:39 PM »
In the same time when i working on interpreter i add things in help files...

guest7581

  • Guest
Re: o2Basic - micro(A) Interpreter
« Reply #28 on: April 18, 2020, 11:51:27 AM »
The most important question is - are you planning to finish this one? Or is it gonna be abandoned like AurelBasic and Ruben as soon as all the basics have been implemented and it's time to move to more complex things?

Offline Aurel

  • Full Member
  • ***
  • Posts: 151
    • AurelSoft
Re: o2Basic - micro(A) Interpreter
« Reply #29 on: April 18, 2020, 03:11:23 PM »
Quote
The most important question is - are you planning to finish this one? Or is it gonna be abandoned like AurelBasic and Ruben as soon as all the basics have been implemented and it's time to move to more complex things?

tomek
i don't know what you mean because my english is still bad ;D
or maybe i can answer like round157 answer me ...

The real life of everyone on Earth is seriously being influenced by this new coronavirus. For example, our jobs. Now many things are much more important than hobby programming

AurelBasic...oh that was a long time ago...Ruben,,is just a experiment...
well good thing is that o2 become far more better (with less bugs and quirks).

and it's time to move to more complex things? ....hmmm more complex things ,like what ?

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal