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

8
LINES

< > BotCompany Repo | #1017731 // nlLogic_stringFunction

JavaX fragment (include)

sbool nlLogic_stringFunction(S f, Func e, SS matches) {
  L<S> l = tok_splitAtComma(javaTokWithBrackets(nlLogic_text(e.arg)));
  if (l(l) != 2) false;
  l = mapReplaceVars2(l, matches);
  if (isDollarVar(second(l)) && !isDollarVar(first(l)))
    ret strictPutIC(matches, second(l), str(callAndMake(f, first(l))));
  ret eqic(second(l), first(l));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017731
Snippet name: nlLogic_stringFunction
Eternal ID of this version: #1017731/2
Text MD5: ccf304ebd5e723dc5a939d041b26a9e3
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-20 12:46:52
Source code size: 355 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 396
Version history: 1 change(s)
Referenced in: [show references]