Uses 911K of libraries. Click here for Pure Java version (4872L/23K).
1 | !7 |
2 | |
3 | cprint { |
4 | transient new TransformersOnObjects too; |
5 | |
6 | switchable long maxSteps = 1000; |
7 | |
8 | start-thread { |
9 | too.addObject(parseBasicLogicRule( |
10 | [[Cutting Budgets on Important Emergency Vehicle Bridges |
11 | => Cutting Budgets on {Important Emergency Vehicle Bridges}]])); |
12 | |
13 | too.addObject(parseBasicLogicRule("Important * => *")); |
14 | |
15 | too.addTransformer(func(BasicLogicRule rule) { toStringOpt(rule.rhs) }); |
16 | too.addTransformer(func(S s) { replaceCurlyBracedWithStars(s) }); |
17 | too.addTransformer(func(S s) { extractBracketedTokens(s) }); |
18 | |
19 | too.addTransformer(func(BasicLogicRule rule) { basicLogicRuleToPair(rule) }); |
20 | |
21 | stepAllWithStats(too, maxSteps); |
22 | |
23 | pnlWithClasses(too.getObjects()); |
24 | } |
25 | } |
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: | #1028376 |
Snippet name: | Transfomers Spike 1 |
Eternal ID of this version: | #1028376/19 |
Text MD5: | 75d63e8f84e9486649d10ed15ad1a40e |
Transpilation MD5: | 6861efa9c7810422e3cd52c85560083f |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-15 21:05:49 |
Source code size: | 729 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 579 |
Version history: | 18 change(s) |
Referenced in: | [show references] |