Jump to content

scintilla4evr

Active Members
  • Posts

    141
  • Joined

  • Last visited

  • Days Won

    3

scintilla4evr last won the day on November 28 2017

scintilla4evr had the most liked content!

2 Followers

About scintilla4evr

  • Birthday 07/19/2000

Profile Information

  • Location
    the void

Recent Profile Visitors

914 profile views

scintilla4evr's Achievements

Adventurer

Adventurer (3/7)

92

Reputation

  1. File manipulation/creation functions are on the to-do list, but first I want to make sure that Strings are more functional (for example, adding the & operator).
  2. Well, according to some simple tests I performed while developing new features, CompileIt reached about 2x faster execution. But when I got to loops with a lot of iterations, it sometimes executed slower than AutoIt, because the whole thing is not optimized in any way. But then again, let us wait and maybe things will change
  3. Okay, so the ChakraCore.dll has nothing to do with the actual C code compilation process - it's used to execute the parser used to convert AutoIt code to C. You got the resulting C code, so ChakraCore had done its job. And with the build, the reason why it doesn't work is the fact that the C files from CompileIt's include/ directory had not been compiled with the input source code. So, I would recommend using the CompileIt.exe for compiling those scripts. But if you find Code::Blocks more comfortable, just add the files from CompileIt's include/ directory to your project. The build should continue just fine.
  4. Okay, this is exciting. I'm proud to introduce CompileIt - an experimental compiler, that allows to compile AutoIt to machine code. ...Kind of. CompileIt does compilation in a similar way the Glasgow Haskell compiler does: translates the code into a lower-level language (in CompileIt's case it's C), and then compiles the code in that language. Now, this project is still in its infancy, since, although it is simple to use, AutoIt is incredibly complex on the inside (automation, COM, etc.). So, CompileIt can compile only a very small subset of what we know as AutoIt. Here's a list of things CompileIt (partially) supports (or not): Numbers, booleans, strings Some built-in functions If, For and While statements Exporting DLL functions (you can now write DLL's in AutoIt, guys!) No arrays, automation, GUI or COM. A more detailed list is included with CompileIt. CompileIt is written in AutoIt (the compiler interface), JavaScript (parser, executed with ChakraCore), and of course C. GCC is required to compile scripts. After you extract the files, run CompileIt.exe and configure it to work with GCC.
  5. Version 0.0.1

    640 downloads

    This is an experimental AutoIt-to-machine code compiler, written in AutoIt, JavaScript and C. Make sure you have GCC installed and configured within CompileIt before using.
  6. First, let me shock you. AutoIt is SLOW. I know, right! But really, it may seem fast enough for "regular" automation and stuff, but when it comes to processing large datasets (image processing for example), it's horrendously slow. There are 2 solutions to this problem: Write the processing code in, for example C or C++ and compile it to a DLL, and then use it in AutoIt Ditch the CPU and let GPU do the processing. You see, CPU is not suited for processing large data in parallel. While it may have some extra cores, but it still not enough. That's where the GPU comes in. CPU with its 8 or more cores is nowhere close the amount of those on GPU - reaching thousands (2560 CUDA cores in GeForce GTX 1080, for example). With this potential, NVIDIA decided to create CUDA - a feature available in all current NVIDIA GPU's allowing developers to harness their computing potential. After this not so short introduction to GPU computing, here is the CUDA UDF. Features include: Running precompiled programs (use NVCC from CUDA Toolkit, available here) Transferring data into and out of the GPU to the "host" (main RAM) CUDA UDF
  7. Version 1.0.0

    430 downloads

    This is a small wrapper UDF for NVIDIA CUDA Driver API. It enables AutoIt scripts to execute pre-compiled .cubin programs on NVIDIA GPU's and receive data from them.
  8. Sorry for such a GIGANTIC delay in answering this question. You can't use window.document.<blah blah insert some object here> in ChakraCore, because the window object is exposed only by web browsers. This UDF only gives access to "raw" JavaScript, so there are no browser-specific objects - no window, navigator, DOM, etc.
  9. Hello! One of the ways to easily access your own palette of colors in Photoshop is using Swatches. But: If you'd want to have them right in the color picker, you'd have to create a color book first. But how? Well, you can use a hex editor, but who has the time to do that? So, I decided to make a little tool to create color book files. And here it is: Features: Add, edit and save Color Books Save to Color Swatches Import INI files Export AU3 constants definitions and HTML files INI file formatting: [Colors] Name=Hex ; Example: ; Blue=0000FF Have fun! Color Book Editor
  10. Version 1.0.0

    745 downloads

    A simple tool for creating and editing color books (.ACB) for use in Adobe Photoshop and other programs.
  11. I think that would require wrapping the functions in some kind of COM object (AutoItObject for example), since ChakraCore.dll exposes only "flat API", i.e. exported DLL functions. ("Note that JSRT APIs are C++ APIs, this sample assumes a C# wrapper.", as it says on the Embedding ChakraCore page).
  12. Hello! Microsoft Edge, the new browser released with Windows 10, uses Chakra as its JavaScript engine. In January, Microsoft released ChakraCore - the open source version of the engine that can be used in other apps. So, how about using it in AutoIt? I tried 2 times to create ChakraCore UDF, and I succeeded. So here it is - the ChakraCore UDF. Features: Executing JavaScript from AutoIt (obviously) Passing data from AutoIt to JavaScript Calling AutoIt functions from JavaScript ChakraCore UDF Have fun!
  13. Version 1.0.0

    794 downloads

    A basic UDF enabling JavaScript execution using Microsoft's ChakraCore engine.
  14. It seems that you have to use GDI+ or other stuff to color it. Here I enabled the blur-behind on a layered window and drawn a partly transparent rectangle and some stuff on top.
  15. 1.7: Added Mandelbrot() Added WarpFactor() Fixed ComplexLog() Added physics constants (from physics.nist.gov) Added LorentzFactor(), TimeDilation(), LengthContraction() and RelativisticMomentum() Added Mollify(), BellCurveMollifier, LinearMollifier, ConstantMollifier and SharpMollifier Added NewtonianGravity() Advanced Math UDF
×
×
  • Create New...