Skip to content

Instantly share code, notes, and snippets.

@mdproctor
Created October 5, 2012 16:38
Show Gist options
  • Save mdproctor/3840889 to your computer and use it in GitHub Desktop.
Save mdproctor/3840889 to your computer and use it in GitHub Desktop.
rule xxx
$b : Bird()
then
insertLogical( new Fly( $b ), PLUS );
end
rule yyy
$b : Bird(weight>1000)
then
insertLogical( new Fly( $b ), NEGATIVE );
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment