Search found 33 matches
- 30 Sep 2021, 11:46
- Forum: Scripts and Functions (v1)
- Topic: MCL, a new machine code generator/library
- Replies: 6
- Views: 2030
Re: MCL, a new machine code generator/library
I've gone through and rewritten the post to be a little bit less dll-y. I confused myself into forgetting the QOL improvements and emphasizing the "fake dll" features.
- 30 Sep 2021, 11:25
- Forum: Scripts and Functions (v1)
- Topic: MCL, a new machine code generator/library
- Replies: 6
- Views: 2030
Re: MCL, a new machine code generator/library
[*] "Importing" functions from DLLs When we have dllcall already why using import function from MCL and again use dllcall for that function, is there benefit? Can we load single dll file multiple times, for example one dll file have callback event and can register single function for that callback,...
- 30 Sep 2021, 11:18
- Forum: Scripts and Functions (v1)
- Topic: MCL, a new machine code generator/library
- Replies: 6
- Views: 2030
Re: MCL, a new machine code generator/library
This is stellar work. My question is... I began coding c++ in Microsoft visual studio and compiling my own DLL to import in AHK. Would there be any benefits to using this library instead of msvc, aside from the already mentioned limitations ? Best regards, Marius. The big thing I sort of forgot to ...
- 29 Sep 2021, 22:22
- Forum: Scripts and Functions (v1)
- Topic: MCL, a new machine code generator/library
- Replies: 6
- Views: 2030
MCL, a new machine code generator/library
MCL, a new machine code generator/library for AHK. Written by GeekDude and I. https://github.com/G33kDude/MCL.ahk No, the acronym doesn't stand for anything. I think it used to be "machine code library", but we decided to leave it ambiguous. See the README for how to use it, and example projects. T...
- 05 Feb 2020, 11:05
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
@burque505 @rommmcek
I really am stumped, but it's worth checking the properties for "out.exe" and making sure it's not blocked, along with checking that you have read+execute permissions for it.
I really am stumped, but it's worth checking the properties for "out.exe" and making sure it's not blocked, along with checking that you have read+execute permissions for it.
- 05 Feb 2020, 10:44
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
- 05 Feb 2020, 10:43
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
P.s.: If I compile Main.ahk the Main.exe (appended) does nothing. P.p.s.: Is it possible to edit (in hex editor) compiled Main.exe (once it works) so it would be a consol app and how (which bite)? I've looked at that processor, and I don't notice anything odd, so I'll need to keep looking. And I'm ...
- 05 Feb 2020, 10:28
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
oh man, this is incredible. does it fully support C language?? the syntax seem very clear It's not really a C compiler, if you read over this (https://cloakersmoker.github.io/Relax-Language/#basic-syntax/) docs page, it explains the differences between Relax and C. Mostly, C has more features, but ...
- 05 Feb 2020, 10:18
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
I kind of hope you keep it in the AHK language, just for the sheer coolness and community helpfulness of if. But great project, no matter which direction you decide. I really wish I could, but I feel like I'm really tying myself down by using AHK as my primary language, and want to switch to a "rea...
- 05 Feb 2020, 08:20
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
I do think Delta's comment about using Relax to make DLLs does have merit. As Relax has a AutoHotkey connection, it makes sense that AHK users would want to create DLLs from it to be used in their projects, which could be AutoHotkey based or involving a different language. The difference from using...
- 05 Feb 2020, 06:38
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
I tried new version quickly on Win10 and it seems to show no changes, i.e. running Main.exe yields no output and output from Main.ahk can't be run on my PC. P.s.: Is Main.exe on GitHub identical with that compiled on PC or is it a separate version? I really don't know what the problem would be then...
- 05 Feb 2020, 06:35
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
The documentation you have created, https://cloakersmoker.github.io/Relax-Language/#how-it-works/ , is a good read. Especially as cooked up as a sleepless experiment. Thanks, I wanted to make sure I expressed my exhaustion enough that it would be understandable why some things are a bit half-baked....
- 05 Feb 2020, 06:32
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
So... Is this just a way to create dll files/library executables using ahk? Or am I reading the documentation wrong? Technically, yes, that's all it really is (I didn't actually implement building DLL files though). Except that majorly undersells it. It generates the code which goes inside the exec...
- 05 Feb 2020, 05:39
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
burque505 rommmcek If possible, could you try on an older version of windows (or in rommmcek's case: your version of Windows 10) using the latest version of Relax? In the latest version I've removed some more "modern" things from the .exe file headers (that were only set because I copied them from ...
- 05 Feb 2020, 05:07
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
@CloakerSmoker However, choosing the AGPL could be devastating to any potential use or collaboration with others. The AGPL is arguably the most viral of all copyleft licenses. Way more so than just the GPL. To comparatively understand the ramifications of choosing AGPL, let's compare it to licenses...
- 05 Feb 2020, 05:04
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
Ok, I figured out what's wrong if you don't see any output. Git is replacing `r`n in the __Precompiled__ files (which just hold the generated code for the built in libraries to speed up compiling) with just `n, and that's breaking them. If you remove all of the __Precompiled__ files and run it again...
- 04 Feb 2020, 16:01
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
Well, that's not good. I really had my fingers crossed you'd be on 32 bit lol. It's a lot easier to say "I don't support 32 bit" than to dive into the exe format. The only other thing I can think of is if the output executable is also being blocked by windows for some reason. The only time I had tha...
- 04 Feb 2020, 15:39
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
Alright, so I've checked over the output file, and it is a valid .exe, all of the headers are correctly set, and it runs fine for me on Windows 10 Pro (64 bit). All I can think of is that you're running a 32 bit system, or a version of windows older than Windows Vista (Those are the two constraints ...
- 04 Feb 2020, 15:26
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
This does no better Main.exe --verbose -i Examples\HelloWorld.rlx -o "C:\Users\RRR\My Ahk-s\Relax-Language-master\out.exe" . I searched for out in the entire RRR folder including all subfolders and there is no out.exe . P.s.: Running Main.ahk with appropriate parameters fixes the problem! Oh, that ...
- 04 Feb 2020, 14:36
- Forum: Scripts and Functions (v1)
- Topic: Relax, a compiled programming language, implemented entirely in AHK
- Replies: 38
- Views: 7447
Re: Relax, a compiled programming language, implemented entirely in AHK
Hmm, the output file should just be "out.exe" in the working directory. I haven't had any problems with the output path, and you should get an error if it can't be opened, but I'll look into it. It might be worth searching for "out.exe" to see if it was just created in the wrong folder. Alternativel...