Uses 911K of libraries. Click here for Pure Java version (6943L/35K).
| 1 | !7 | 
| 2 | |
| 3 | cmodule WTC > DynPrintLog {
 | 
| 4 | transient S program = [[ | 
| 5 |     theory (discord token) {
 | 
| 6 | synonym token = (discord token) | 
| 7 | synonym bot = (discord bot) | 
| 8 | a token is something a bot needs in order to (connect to discord) | 
| 9 | } | 
| 10 | |
| 11 | a $a is something a $b needs in order to $c | 
| 12 | & $d is a $b | 
| 13 | & $d wants to $c | 
| 14 | => $d needs a $a | 
| 15 | |
| 16 | gazelle is a bot | 
| 17 | gazelle wants to (connect to discord) | 
| 18 | |
| 19 | expect (gazelle needs a token) | 
| 20 | ]]; | 
| 21 | |
| 22 |   start-thread { | 
| 23 | ai_checkMusing(program); | 
| 24 |     assertFailsVerbose(r { ai_checkMusing(program + "\n" + "expect (not a fact)") }); | 
| 25 |     print("OK!"); | 
| 26 | } | 
| 27 | } | 
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025731 | 
| Snippet name: | Wants To Connect Musing shortened | 
| Eternal ID of this version: | #1025731/3 | 
| Text MD5: | de08da077ba7a74fef8c20fbc404cb78 | 
| Transpilation MD5: | 2d2738421182993fa6571dc0b6794f53 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX source code (Dynamic Module) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2019-10-15 21:17:33 | 
| Source code size: | 649 bytes / 27 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 419 / 681 | 
| Version history: | 2 change(s) | 
| Referenced in: | [show references] |