1 | static S lispToEnglish_prettier(Lisp l) {
|
2 | if (l == null) ret ""; |
3 | S pattern = conceptToNameOpt(lispForwardRawOrSame("omrvwjslbkffaxoj", l.head));
|
4 | if (empty(pattern)) ret clUnparse(l); |
5 | L<S> args = map(f lispToEnglish_prettier, l.args); |
6 | S s = formatXYZ_appendRest(pattern, args); |
7 | ret s; |
8 | } |
Began life as a copy of #1007819
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: | #1008102 |
| Snippet name: | lispToEnglish_prettier - check truth base for prettification templates |
| Eternal ID of this version: | #1008102/5 |
| Text MD5: | 4dd32c498a6fc7031c24f36c99246ab7 |
| 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-24 20:02:38 |
| Source code size: | 304 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 801 / 849 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |