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

9
LINES

< > BotCompany Repo | #1007819 // conceptLanguageToEnglish_rec (recursive from Lisp)

JavaX fragment (include)

static S conceptLanguageToEnglish_rec(Lisp l) {
  if (l == null) ret "";
  S pattern = conceptToNameOpt(l.head);
  if (empty(pattern)) ret clUnparse(l);
  L<S> args = map(f conceptLanguageToEnglish_rec, l.args);
  S s = formatXYZ_appendRest(pattern, args);
  ret s;
  //ret crazyEnglishFixing(s);
}

Author comment

Began life as a copy of #1007415

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: #1007819
Snippet name: conceptLanguageToEnglish_rec (recursive from Lisp)
Eternal ID of this version: #1007819/4
Text MD5: e57b987fca43c13ea3f03547c685617b
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-10 12:36:24
Source code size: 306 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 507 / 519
Version history: 3 change(s)
Referenced in: [show references]