Uses 911K of libraries. Click here for Pure Java version (4198L/21K).
cmodule NewEngineTest > DynPrintLog { transient new NewEngine engine; start-thread { engine.verbose = true; engine.addLogicRule(new BasicLogicRule( And( formatWithFragmentsAndDollarSymVars("hasWord($x)"), formatWithFragmentsAndDollarSymVars("ewic_notSame($x, *)", "zimmer")), formatWithFragmentsAndDollarSymVars("$x ist ein Zimmer"))); engine.think(); //pnl(facts = engine.factsInOrderOfDefinition(); } }
Began life as a copy of #1027763
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027880 |
| Snippet name: | More complex test of NewEngine [dev.] |
| Eternal ID of this version: | #1027880/5 |
| Text MD5: | 0d591970adaff2740ddfd1251d619724 |
| Transpilation MD5: | b3f0d096a496d0637e30f7f4d403343b |
| Author: | stefan |
| Category: | javax / new gazelle |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-16 14:32:00 |
| Source code size: | 492 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 386 / 826 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |