[Development] Future of QBS

André Somers andre at familiesomers.nl
Tue Oct 17 08:12:46 CEST 2017



Op 17/10/2017 om 03:01 schreef Kevin Kofler:
> Konstantin Tokarev wrote:
>> This problem is solved by having access to full "project" model from the
>> same language. E.g. this is how I implemented Premake plugin for Qt
>> Creator a while ago: added Lua code to traverse Premake's project
>> structure, and run it with all of Premake from inside Creator's plugin, by
>> linking liblua.
> Of course. Invoking the actual build system to get data out of it is also 
> how the CMake support in KDevelop 5 works.
>
> That, however, does not address the Turing-completeness issue, as it will 
> crash (lock up) your IDE if the code in the build system does not terminate, 
> which can happen if the language is Turing-complete.
>
Well, in the case of QBS, would it not be reasonable to terminate the
evaluation of any property binding if it takes more than a <threshold>
amount of time? The language may be Turing-complete, but that does not
mean the code in control of executing it has to let it run indefinitely.

André




More information about the Development mailing list