How to compile Lua 5.4.0 for Android as a dynamic library using Android Studio 4

Saturday, May 30th, 2020 | Android, Android Studio, Lua | No Comments

This is a tutorial on how to compile Lua 5.4.0 for Android as a dynamic library (liblua.so) using the Windows Android Studio 4.

› Continue reading

Tags: , ,

Please make inline vars usable for production – fix RSP-28892

With the arrival of Delphi Rio 10.3 in October 2018 we saw “a very handy feature to the language, local inline variables with local scope and type inference” [Marco Tech Blog]. That was a feature “long overdue” [Comment section] and helped to push the Delphi language a little bit further. We’ve been very excited about this feature helping us writing code we’re all used to in other languages especially those used in for-loops:

or even more simplified to

As soon as the ISO/Web installer hit the download section we grabbed it, installed it… and have been hit hard in the face by CodeInsight (or whatever that feature is called) with not recognizing that simple code above as a valid Delphi code – which (not only) prevents working of not just the “Find declaration” but all of the source code productivity features as well. Ok, it was the first release of a new language feature, so well, we could wait for the next release which surely would fix that (there was an entry already in the Quality portal opened during the beta release…*sigh*).

Then came Delphi 10.3.1 in February 2019 – downloaded, installed, nothing changed, bug still there.

Then came Delphi 10.3.2 in July 2019 – downloaded, installed, nothing changed, bug still there.

Then came Delphi 10.3.3 in November 2019 – downloaded, installed, nothing changed, bug still there.

Then came Delphi 10.4 in May 2020 – downloaded, installed – oh yes, the inline vars aren’t tagged as error, but Go-to-definition nor Refactoring won’t work, thus bug still there.

The “fun” part is, while commenting both releases with the same request on fixing the RSP, all of the MVPs (including Marco) decided to delete (or not to publish) my comment about my request on fixing that bug. Not cool.

So here I am again – more than 600 days after the introduction of the new feature – begging for a fix so we could use that new feature. Please fix (latest RSP submitted):

RSP-28892 “Find Declaration” won’t work if inline vars are used

Thank you.

Tags: ,

How to compile Lua 5.4.0 as a Mac OS X dynamic library

Sunday, May 24th, 2020 | Lua, Mac OS X | No Comments

This is a tutorial on how to compile Lua 5.4.0 as a Mac OS X dynamic library (liblua.dylib). › Continue reading

Tags: , , , ,

How to compile Lua 5.4.0 for Linux as a shared library

Sunday, May 24th, 2020 | Linux, Lua | 1 Comment

This is a tutorial on how to compile Lua 5.4.0 for Linux as a shared library.

› Continue reading

Tags: , , , ,

How to compile Lua 5.4.0 for Windows

Thursday, May 21st, 2020 | Lua | No Comments

This is a tutorial on how to compile Lua 5.4.0 for Windows (32-bit and 64-bit executable and DLL) with the Microsoft Visual Studio Community Edition.

› Continue reading

Tags: , , , ,

Daily Wage – a Spigot/Bukkit plugin that pays out a daily wage

Wednesday, March 4th, 2020 | bukkit, java, minecraft, spigot | No Comments

A Spigot/Bukkit plugin command that pays out a daily wage (needs the great DKCoins plugin!).

› Continue reading

Tags: , , ,

How to compile Lua 5.3.5 for Windows

Tuesday, June 25th, 2019 | Lua, Windows | No Comments

This is a tutorial on how to compile Lua 5.3.5 for Windows (executable and DLL) with Microsoft Visual Studio Community Edition.

› Continue reading

Tags: , , ,

Better Collada exporter for Blender with custom properties

Tuesday, June 18th, 2019 | Blender | No Comments

While my Pull Request isn’t merged yet, you may download my export-custom-properties-branch of the Godot Engine’s “Better” Collada exporter for Blender which adds custom properties for materials and geoms within the <extra>-tag with a “blender”-profile.

› Continue reading

Tags: , ,

MOS6502-delphi – a MOS 6502 CPU emulator for Delphi

This is the Delphi / Pascal port of the C++ implementation for the MOS Technology 6502 CPU by Gianluca Ghettini. The code is written to be more readable than fast, however some minor tricks have been introduced to greatly reduce the overall execution time. › Continue reading

Tags:

Pass a multidimensional array as a parameter (with a hidden caveat)

Monday, August 1st, 2016 | Delphi Programming | 4 Comments

How to pass a multidimensional array as a parameter? Long ago this question was answered on Stack Overflow with a simple answer: make a specific type for your array. But there is a hidden caveat… › Continue reading

Tags:

About Dennis D. Spreen

I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.

Search

QR Code

Categories