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

7
LINES

< > BotCompany Repo | #1013197 // ai_getOperator

JavaX fragment (include)

static L<S> ai_getOperator(S s) {
  L<S> tok = javaTokPlusBracketsC_unquote(s);
  for i over tok:
    // simple is OK for tokens
    if (isRoundOrCurlyBracketed_simple(tok.get(i))) tok.set(i, "*");
  ret tok;
}

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: #1013197
Snippet name: ai_getOperator
Eternal ID of this version: #1013197/6
Text MD5: 9fc8bdf627ae33e58c81c392ab589427
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-07 06:27:03
Source code size: 216 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 332 / 380
Version history: 5 change(s)
Referenced in: [show references]