Scala规则引擎 Hammurabi

码农软件 · 软件分类 · 业务规则引擎 · 2019-09-28 17:56:49

软件介绍

Hammurabi 是一个 Scala 编写的规则引擎,适合实现便于阅读的内部DSL。与其他 DSL 不同的是,Hammurabi 可直接使用宿主语言编写和编译规则。

示例规则:

rule ("Person to Fred’s immediate right is wearing blue pants") let {
  val p1 = kindOf[Person] having (_.name == "Fred")
  val p2 = any(kindOf[Person])
  when {
   p2.pos equals p1.pos + 1
  } then {
    assign color "blue" to p2
  }
}

本文地址:https://codercto.com/soft/d/15604.html

Foundations of PEAR

Foundations of PEAR

Good, Nathan A./ Kent, Allan / Springer-Verlag New York Inc / 2006-11 / $ 50.84

PEAR, the PHP Extension and Application Repository, is a bountiful resource for any PHP developer. Within its confines lie the tools that you need to do your job more quickly and efficiently. You need......一起来看看 《Foundations of PEAR》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具