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)

1  
static S conceptLanguageToEnglish_rec(Lisp l) {
2  
  if (l == null) ret "";
3  
  S pattern = conceptToNameOpt(l.head);
4  
  if (empty(pattern)) ret clUnparse(l);
5  
  L<S> args = map(f conceptLanguageToEnglish_rec, l.args);
6  
  S s = formatXYZ_appendRest(pattern, args);
7  
  ret s;
8  
  //ret crazyEnglishFixing(s);
9  
}

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: 509 / 521
Version history: 3 change(s)
Referenced in: [show references]