Download Jar. Libraryless. Click here for Pure Java version (17597L/101K).
!7 sS data = [[ -- rule 1 who is a trader [input] + x y is a trader [statement] => x y -- test input john doe is a trader alfred hitchcock is a director who is a director? -- expected output alfred hitchcock ]]; !include once #1021761 // Gazelle Fakery p-exp { // fails: // gazelle_fakery_performTest(data, selfVarsFix := false); // works: gazelle_fakery_performTest(data); }
Began life as a copy of #1021758
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021764 |
| Snippet name: | John Doe Test Case 2 [the default-word bug] |
| Eternal ID of this version: | #1021764/5 |
| Text MD5: | 7a3121082718cb86bfc8fe103a33c7ba |
| Transpilation MD5: | 353c93545c6755f8ac599794b68f785a |
| Author: | stefan |
| Category: | javax / gazelle |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-26 10:39:03 |
| Source code size: | 455 bytes / 30 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 742 / 1651 |
| Version history: | 4 change(s) |
| Referenced in: | #1021767 - All Gazelle Tests [old] #1021799 - Default Answer Test Case [OK] #1021839 - Gazelle: Tokenization Test Case (OK, but we should have different tokenizers for each part of the rule) |