Ooops
October 17, 2021, 14:42:05

Author Topic: micro(A) Interpreter  (Read 20911 times)

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2477
Re: o2Basic - micro(A) Interpreter
« Reply #15 on: April 02, 2020, 12:08:25 »
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

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #16 on: April 02, 2020, 16:35:19 »
-
« Last Edit: July 06, 2021, 15:42:46 by Aurel »
(Y)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #17 on: April 02, 2020, 16:48:06 »
-
« Last Edit: July 06, 2021, 15:43:00 by Aurel »
(Y)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #18 on: April 05, 2020, 11:27:28 »
-
« Last Edit: July 06, 2021, 15:44:35 by Aurel »
(Y)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #19 on: April 09, 2020, 14:58:33 »
.
« Last Edit: July 06, 2021, 15:43:12 by Aurel »
(Y)

Offline round157

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

Hello...I am always curious. What is the completion percentage of this project(the interpreter of micro(A))? Thanks.
« Last Edit: April 10, 2020, 00:45:19 by round157 »

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #21 on: April 10, 2020, 08:08:46 »
.
« Last Edit: February 02, 2021, 07:42:32 by Aurel »
(Y)

Offline round157

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

Do you understand something of this?

Oh...I don't.:)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #23 on: April 11, 2020, 10:59:38 »
-
« Last Edit: February 02, 2021, 07:42:46 by Aurel »
(Y)

Offline round157

  • Sr. Member
  • ****
  • Posts: 472
Re: o2Basic - micro(A) Interpreter
« Reply #24 on: April 15, 2020, 16:18:23 »
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

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #25 on: April 15, 2020, 16:46:39 »
-
« Last Edit: February 02, 2021, 07:42:59 by Aurel »
(Y)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #26 on: April 15, 2020, 20:11:30 »
-
« Last Edit: July 06, 2021, 15:43:40 by Aurel »
(Y)

Offline Aurel

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #27 on: April 17, 2020, 19:32:39 »
-
« Last Edit: July 06, 2021, 15:43:48 by Aurel »
(Y)

guest7581

  • Guest
Re: o2Basic - micro(A) Interpreter
« Reply #28 on: April 18, 2020, 11:51:27 »
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

  • Sr. Member
  • ****
  • Posts: 351
Re: o2Basic - micro(A) Interpreter
« Reply #29 on: April 18, 2020, 15:11:23 »
-
« Last Edit: February 02, 2021, 07:43:53 by Aurel »
(Y)

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal