Roman Gershman
07df3f2b95
Simplify serialization logic in Interpreter
2022-02-24 14:11:51 +02:00
Roman Gershman
c567a70244
Add SCRIPT LOAD/EVALSHA
2022-02-24 14:11:51 +02:00
Roman Gershman
ec70cc9e9f
Add ScriptMgr class
...
Write SCRIPT command into ServerFamily class.
2022-02-24 14:11:51 +02:00
Roman Gershman
ab5031472e
Small fixes
...
1. Remove CO::STALE modifier since it's not relevant for now.
2. Propertly wire CallFromScript function to be called from redis.call.
3. Define 3rd party lua dependency as part of dragonfly project.
4. Add ARGV/KEYS arrays to lua scripts
2022-02-24 14:11:51 +02:00
Roman Gershman
067e1c3b62
Allow calling a redis function from interpreter.
...
Introduce a translator that converts redis response to lua result coming from redis.call
Add tests.
2022-02-24 14:11:51 +02:00
Roman Gershman
7a2f4baeec
Wire support for redis.call and redis.pcall commands
2022-02-24 14:11:51 +02:00
Roman Gershman
d1f6f6d410
Implement serialization of most lua data types that are returned to caller
2022-02-24 14:11:51 +02:00
Roman Gershman
8fbe19d3c5
Add (lua) interpreter with lua 5.4.4
...
Small fixes all around.
2022-02-24 14:11:51 +02:00