Jump to content

How interested are you?  

61 members have voted

  1. 1. How interested are you?

    • I am willing to work on the code
    • I am willing to help with testing
    • I would love to see this becoming a reality
    • Nah mate, I don't think this is a good idea


Recommended Posts

Posted

@junkew Are you proposing to use LLVM as the backend for processing the bytecode?... I don't think I am ready to go that advanced yet, let me first get a working parser and then I can figure out producing bytecode (which is most likely going to be interperted by a program which I will write)...

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted

@junkew I tried to go through the first part of the book (Compiler Construction), I didn't have enough patience to continue reading down further. I am more of a "try and see" person, I am not sure if the book had mentioned something necessary which I am not aware of.

I have worked with BNF notation before, the hard bit is constructing that by myself as a reference for AutoIt, maybe someone has already done that for me? :)

Either way, thanks for the recommendation. I could use that book as a reference if I hit any road-blocks while writing the parser.

  On 4/30/2019 at 4:54 PM, junkew said:

Llvm can do more also with scripting languages.

Expand  

Oh, I was not aware of that, can you point me towards the relevant documentation?

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted
  On 5/1/2019 at 10:15 PM, junkew said:

LLVM JIT compilation is an in memory compiler so more the definition of an interpreter.

Expand  

I see, this is indeed an interesting aspect. We can use LLVM further down the road to perform JIT compilation of bytecode to machine code for faster execution... if that is feasible, but for now I will concentrate on getting the basics working first :)

  On 5/1/2019 at 10:15 PM, junkew said:

You need some library for your interpreter.

Expand  

I plan to make my own ;)

It will help me concentrate on the implementation rather than learning another technology and producing bytecode that it can use.

  On 5/1/2019 at 10:15 PM, junkew said:

Unix and windows compatible that brings you to

  1. .NET    (Look for dynamic Language runtime / DLR - examples Iron languages)
  2. JAVA
  3. C/C++
  4. ... 
Expand  

I have already mentioned that I will be using C, the lowest and least (relatively) abstract language among the other choices that you have listed. I have a thing for C :D

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted (edited)

Oh this thread again. Neat :D

I'd love to see AutoIt on Linux, however it's unlikely to happen. Regardless, if it does start to happen hit me up with the Repository info.


That being said... I had a small workaround with AutoIt. I was working on a "WineBridge" in which a made a bash script that would handle the stdout and stderr pipes from the executable and converting those to python or other language commands. I don't think I ever figured out passing data back into AutoIt, or if I did I don't have the code for it anywhere. It gave Autoit the ability to run commands from wine and I'm sure it could be expanded further.

 

EDIT:

I was able to find some of my old 2012-era code on my github. Please ignore any bad coding practices, I was a lot worse back then, using magic numbers and all sorts of No-Nos. https://github.com/rcmaehl/Discontinued-Projects/tree/master/WineBridge I think half the code is missing as I remember it having more functionality than this.

Edited by rcmaehl

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

My Projects

WhyNotWin11
Cisco FinesseGithubIRC UDFWindowEx UDF

 

Posted

I remember this thread :)
Interesting how you connected Windows and Linux. IIRC this happened many years ago.

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

@rcmaehl Good to see you :)

Thanks for sharing your project, an interesting wrapper for Wine! Even though I did not study your code that much, but I can indeed see how that can be useful to make Linux releases for your AutoIt projects... I myself had this idea of something similar but I never gave it much thought again.

I will make sure to alert all those who have voted to volunteer once I start the project :D

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

  • 4 weeks later...
Posted

Don't forget, you can do all of this in Python if you needed to, you only need to import PyAutoGUI to do a lot of the automation you can do in AutoIt. You could make a wrapper for it that mimics AutoIt's functions if you REALLY wanted to.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

  Reveal hidden contents

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Posted (edited)

PyAutoGUI looks like a neat piece of library for python, it has functions for MsgBox and Screenshots too :)

But I believe it is not relevant in this topic as it is not about having a cross-platform automation toolkit... maybe I should change the name of the topic to mention the AutoIt language specifically?

Edit: Done!

Edited by TheDcoder

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

  • TheDcoder changed the title to A cross-platform implementation of the AutoIt language
  • 2 weeks later...
Posted

Why not build your project using SQL alone?

https://www.youtube.com/watch?v=MPSMH8w7nfw

 

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

Thanks @jchd for this link.
I just gave a 👍 on this youtube video..

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 6/4/2019 at 9:05 PM, jchd said:

Why not build your project using SQL alone? 

Expand  

Sounds good... that way we can exploit take advantage of all those cheap web hosting services and make a big interconnected cloud using their SQL servers and run our code on it :muttley:

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Posted

A drop of geek fun is always good for health, at times.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

  • 3 months later...
Posted

Does anyone know of or have a "reference script" which showcases all possible AutoIt syntax? I am planning to write a document which describes the syntax of the language, split it into parts and make it easier to digest.

This will help me understand the syntax more so that I can come up with a proof-of-concept program which does some basic task like parsing a script and and producing an "Abstract Syntax Tree", which in simple terms means an array or structure which programatically holds all the units of the script so that it is easier to process later.

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...