You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rucciva noneedtoknow 2e4f3bb209 Merge branch 'release/0.0.3-1' 1 year ago
spec some cleanup 1 year ago
LICENSE move custom operations into options 1 year ago
json-logic-lua-0.0.3-1.rockspec update rockspec 1 year ago
logic.lua some cleanup 1 year ago
readme.md update rockspec 1 year ago

readme.md

JSON-LOGIC

lua port of https://github.com/jwadhams/json-logic-js.
luarocks url: https://luarocks.org/modules/rucciva/json-logic-lua.
Differentiation with the original json-logic:

  1. empty array is evaluated to true, unlike the original json-logic which evaluate empty array to false.
  2. add_operation is simulated by using third parameter named options in Apply()