1 | static void ai_spec_subclass(S s) { |
2 | new Matches m; |
3 | if (ai_isAOrAn(s, m)) { |
4 | S x = m.rest(); |
5 | for (S type : ai_texts(s, "is a", "$X")) |
6 | post(x, "is a subclass of", type); |
7 | } |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012595 |
Snippet name: | ai_spec_subclass - a dog is an animal => dog is a subclass of animal |
Eternal ID of this version: | #1012595/1 |
Text MD5: | 34948496f2bba5ed3c39cc426b1c43b2 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-07 16:12:53 |
Source code size: | 197 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 396 / 421 |
Referenced in: | [show references] |