Sign in Sign up
nuget

Ccf.Ck.Libs.ActionQuery

Tiny script language for programmable objects. The language is really minimal, all you can do with it is to write small programs/queries that call methods exposed to the language through a very simple host object. The host makes possible to hide behind it a concept of libraries available anywhere and some explicit methods available only in specific contexts. The language itself consists of syntax for function calls with varying number of arguments, a few special words, resolution of outside read only parameters and only two logical constructs - if and while. It does not need much learning (a couple of minutes should be enough), thus those who use it need only know what can they call from it in the contexts in which they can use it. The purpose of such a script/query is to give the programmer an option to not hard code the logic of certain classes/plugins, but create them as a set of methods that can do the job in various ways if called in different order and supplied with different data. Attaching the ActionQuery to such an object makes possible to program them what to do without rebuilding or even at run-time if the script is reloaded/recompiled. The compilation is a single pass, but the result is independent of any references and can be preserved in a cache for additional performance benefits if the the specific ActionQuery is heavily used. See the documentation for further details (the documentation is in a separate respository together with examples.)

nuget View on Nuget

Activity

Latest release
3y ago
Total releases
6
Cadence
~7 days
Last 12 months
0

Details

License
MIT
First release
Apr 19, 2021
Releases
Version Released
1.2.2 patch
1.2.0 minor
1.1.2 patch
1.1.1 patch
1.1.0 minor
1.0.3 initial