Jump to content

Scripting Language for Teensy [Ducky Script like clone]


jackendra

Recommended Posts

I created a sort of converter, that converts simple scripting commands to teensy C source.

I've decided to write in Python since its cross-platform, and most *unix/Linux machines come with it installed.

I have decided to do this because some people may already own a teensy, and want what a teensy can do, but sadly dont have the C experience that others may have.

Heres a little screenshot of what gets outputted:

3FayMIq.png

I did not implement a default delay yet, so you have to be a tad bit more careful when executing multiple 'commands' one after the other.

What do you guys think, any questions?

I wanted to say, I know alot of people have done something like this.

so dont be too mad since I decided to do it also :P

I wasnt planning on sharing due to that fact, but I just felt like I had too.

Edited by jackendra
Link to comment
Share on other sites

If anyone is actually looking here, I have another update:

I wrote a quick interpreter, in a separate script, so you dont have to; Open notepad, start writing your script, save, run converter... all that. Instead you just run the interpreter,

and start writing the script in the window and to end your script and save to file start a new line with < and press enter in the terminal/IDLE.

If I decide to I will make it one file where -i starts the interpreter, and -s FILE converts a .txt script

Link to comment
Share on other sites

  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...