Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

20
LINES

< > BotCompany Repo | #1004924 // Boolean Flag Classes (Include)

JavaX fragment (include)

sconcept Line {
  S text;
  new Ref<Interpretation> interpretation;
  
  *() {}
  *(S *text) {}
}

sconcept Interpretation {}
sconcept Praise extends Interpretation {}
sconcept NotForMe extends Interpretation {}
sconcept FlagOn extends Interpretation {}
sconcept FlagOff extends Interpretation {}
sconcept GetFlag extends Interpretation {
  new Ref answerModulator; // optional
}

sconcept TheFlag {
  bool set;
}

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: #1004924
Snippet name: Boolean Flag Classes (Include)
Eternal ID of this version: #1004924/1
Text MD5: 12fb1b4919617e14e6f078ec91bead35
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-16 23:23:28
Source code size: 434 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 560 / 778
Referenced in: [show references]