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

15
LINES

< > BotCompany Repo | #1011756 // ai_spec_tripelize

JavaX fragment (include)

static void ai_spec_tripelize(S s) {
  if (tok_containsSimpleArrow(tok_combineCurlyBrackets(javaTok(s)))) {
    ifdef ai_spec_tripelize_debug
      print("ai_spec_tripelize skipping: " + s);
    endifdef
    ret;
  }
  new Matches m;
  T3<S> t = ai_tripelize(s);
  ifdef ai_spec_tripelize_debug
    print("ai_spec_tripelize got: " + s + " => " + ai_renderTriple(t));
  endifdef
  if (!ai_trivialTriple(t))
    ai_postTriple(s, "possibly parses to triple", ai_renderTriple(t));
}

Author comment

Began life as a copy of #1011748

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: #1011756
Snippet name: ai_spec_tripelize
Eternal ID of this version: #1011756/8
Text MD5: 568e64febe5c87d48966e98438becdca
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-22 08:51:50
Source code size: 492 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 377 / 421
Version history: 7 change(s)
Referenced in: [show references]