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

8
LINES

< > BotCompany Repo | #1007982 // lisp_roundBracketHygieneScore

JavaX fragment (include)

static int lisp_roundBracketHygieneScore(Lisp l) {
  if (l == null) ret 0;
  int score = 0;
  for (Lisp arg : l)
    if (arg.isLeaf() && !hasRoundBracketHygiene(arg.unq()))
      --score;
  ret score;
}

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: #1007982
Snippet name: lisp_roundBracketHygieneScore
Eternal ID of this version: #1007982/2
Text MD5: e4da409d62246808c03290eba70f61ff
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-25 01:39:04
Source code size: 209 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 485 / 502
Version history: 1 change(s)
Referenced in: [show references]