SOTE wrote: ↑
05 Feb 2020, 07:09
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 AutoHotkey.dll, could be that it would be smaller, have more specific code, or have more customized functions.
In addition, (somewhere down the line) Relax might be able to open up the possibilities of creating executables or .so files (Linux equivalent of a Windows DLL) for different OSes (cross-compiling), as it's a kind of AHK based customizable compiler.
As much as I'd like to build DLL files, it would need a new syntax to export functions, and I'd need to alter PEBuilder (which was the most painful part of the project), so it probably won't be added.
Although, there is the ".ahk" output file type, which will compile a program into a group of AHK functions, which is my attempt at having similar functionality to C MCode.
And for making elf or so files, I'd want to bootstrap the compiler first (aka have a version of the compiler implemented in Relax itself) so I'd have a version which can run on Linux too.
But realistically, none of these features are likely to be added. I like the language I've built, and love how much I've learned; but I'm also super burnt out. So, I'll probably fix any problems that get found in the next week or two, then release version 1.0 and put Relax on the back burner for a bit.
There's a chance I'll come back and actively work on Relax in the future, but that's only if it gets used, since adding features to this version of Relax would take effort I'd much rather put into something else. The language definitely isn't being abandoned though, and I do plan to bring it up to C in terms of features eventually (Although I'll probably implement it in a language other than AHK).