Thyme IDE
Posted: Tue Feb 05, 2019 1:09 am
Hello guys, how are you going?
Let me tell ya a beautiful history first!
There was a time that i used to spent the hole day in algodoo, practicing my Scripting Skills, and i know, the design 'thing' isn't my area.
Well, past week i decided to download Algodoo again, just to show for a friend of mine, and that made me use the Software again, now i'm 17 years old, i already do work on this area, i'm Android developer (Thanks to Algodoo) and one of my passions is Compilers and Interpreters. Using that knowledge i made a special thing, a Thyme script editor (Yup, you did read that right)
No more Notepad++ 'cos we got Syntax validation too, using a "Compiler like" structure of code.
Why did i made this? I was trying to make a fullly functional drone to test an idea for my term paper, and i got frustated 'cos algodoo itself doesn't has a decent syntax error log. So i decided to build this (For emocional reasons too)
Enough of writing, here it is the source code (And online demo)
https://github.com/LeandroSQ/thyme-ide
Feel free to contribute <3
(Just to explain, i do force to use ';' on the end of every statement and also, when using the code you need to do only assignments)
So a correct code would be:
Instead of just pasting the function's inner code, like:
Let me tell ya a beautiful history first!
There was a time that i used to spent the hole day in algodoo, practicing my Scripting Skills, and i know, the design 'thing' isn't my area.
Well, past week i decided to download Algodoo again, just to show for a friend of mine, and that made me use the Software again, now i'm 17 years old, i already do work on this area, i'm Android developer (Thanks to Algodoo) and one of my passions is Compilers and Interpreters. Using that knowledge i made a special thing, a Thyme script editor (Yup, you did read that right)
No more Notepad++ 'cos we got Syntax validation too, using a "Compiler like" structure of code.
Why did i made this? I was trying to make a fullly functional drone to test an idea for my term paper, and i got frustated 'cos algodoo itself doesn't has a decent syntax error log. So i decided to build this (For emocional reasons too)
Enough of writing, here it is the source code (And online demo)
https://github.com/LeandroSQ/thyme-ide
Feel free to contribute <3
(Just to explain, i do force to use ';' on the end of every statement and also, when using the code you need to do only assignments)
So a correct code would be:
- Code: Select all
_P = 0; _I = 0; _D = 0; _lastAngle = 0; _leftThrusterForce = 0; _rightThrusterForce = 0;
// Or
postStep = (e)=>{
// Inside of a function you can do anything
};
// But outside, you are only able to declare variables
Instead of just pasting the function's inner code, like:
- Code: Select all
(e)=>{ Console.print ("Hello World") }