-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract the scripting engine code from the functions unit #1312
base: unstable
Are you sure you want to change the base?
Commits on Nov 12, 2024
-
Adds support for scripting engines as Valkey modules
This commit extends the module API to support the addition of different scripting engines to run user defined functions. The scripting engine can be implemented as a Valkey module, and can be dynamically loaded with the `loadmodule` config directive, or with the `MODULE LOAD` command. The current module API support, only allows to load scripting engines to run functions using `FCALL` command. In a follow up PR, we will move the Lua scripting engine implmentation into its own module. Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 331df7f - Browse repository at this point
Copy the full SHA 331df7fView commit details -
Adds new module API test to test the scripting engine module API
This commit adds a module with a very simple stack based scripting language implementation to test the new module API that allows to implement new scripting engines as modules. Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9c618a3 - Browse repository at this point
Copy the full SHA 9c618a3View commit details -
Adds comments to helloscripting.c structs and functions
Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6950891 - Browse repository at this point
Copy the full SHA 6950891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 202f8de - Browse repository at this point
Copy the full SHA 202f8deView commit details -
Improve hello lang general comment in helloscripting.c
Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a05ac1 - Browse repository at this point
Copy the full SHA 1a05ac1View commit details -
Added a few more tests to test the commands FUNCTION [FLUSH|DUMP|REST…
…ORE|DELETE] Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ace2f4b - Browse repository at this point
Copy the full SHA ace2f4bView commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4b3e858 - Browse repository at this point
Copy the full SHA 4b3e858View commit details
Commits on Nov 25, 2024
-
Refactored code to move back the
fcallCommandGeneric
back to `funct……ions.c` Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a09e9ff - Browse repository at this point
Copy the full SHA a09e9ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a991b3 - Browse repository at this point
Copy the full SHA 9a991b3View commit details
Commits on Nov 26, 2024
-
Refactor: renaming ValkeyModuleScriptingEngineFunctionLibrary back to…
… functionLibInfo in most places Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d7ffcfe - Browse repository at this point
Copy the full SHA d7ffcfeView commit details
Commits on Nov 27, 2024
-
- Removed the `ValkeyModuleScriptingEngineFunctionLibrary` structure. - Changed a few structure and parameters names. Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b6be447 - Browse repository at this point
Copy the full SHA b6be447View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed93e4e - Browse repository at this point
Copy the full SHA ed93e4eView commit details -
Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7708aa - Browse repository at this point
Copy the full SHA c7708aaView commit details -
Extract the scripting engine code from the functions unit
This commit creates a new unit for the scripting engine code by extracting the existing code from the functions unit. We're doing this refactor to prepare the code for runnning the `EVAL` command using different scripting engines. Signed-off-by: Ricardo Dias <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 54eb99f - Browse repository at this point
Copy the full SHA 54eb99fView commit details