Download Jar. Libraryless. Click here for Pure Java version (17591L/101K).
1 | !7 |
2 | |
3 | sS data = [[ |
4 | |
5 | -- rule 1 |
6 | |
7 | who is x y [input] |
8 | + x y is a trader [statement] |
9 | => a trader |
10 | |
11 | -- test input |
12 | |
13 | john doe is a guy |
14 | who is john doe? |
15 | |
16 | -- expected output |
17 | |
18 | a guy |
19 | |
20 | ]]; |
21 | |
22 | !include once #1021761 // Gazelle Fakery |
23 | |
24 | p-exp { |
25 | gazelle_fakery_performTest(data); |
26 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021758 |
Snippet name: | John Doe Test Case [OK] |
Eternal ID of this version: | #1021758/32 |
Text MD5: | ce76209703df4a90f44588621d8aec8e |
Transpilation MD5: | 6c67b25f46b809449b1af195a4ea0d0c |
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:38:24 |
Source code size: | 322 bytes / 26 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 414 / 1255 |
Version history: | 31 change(s) |
Referenced in: | [show references] |