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

24
LINES

< > BotCompany Repo | #1007858 // English 2 Java [dev.]

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 3874K of libraries. Click here for Pure Java version (10563L/73K/241K).

1  
!7
2  
3  
static new SS e2j;
4  
5  
p-subst {
6  
  consoleSetInput("Show a frame titled \"bla\"");
7  
  useFacts_cl(facts);
8  
  for (Lisp l : lispTruthByHead("wvaueixdcwjkcdat"))
9  
    e2j.put(l.rawOrNull(0), l.rawOrNull(1));
10  
  bot();
11  
}
12  
13  
static S facts = [[
14  
  wvaueixdcwjkcdat clpimxtcklsqzvks eloqhwmopmmvwuvm // showFrame
15  
  wvaueixdcwjkcdat xixcfhspoiyxnrur oeghxkvyumzbhscz // ditto
16  
]];
17  
18  
static S answer(S s) {
19  
  Lisp l = englishToLisp(s);
20  
  print(l);
21  
  l = lispTranslateToJava(l, e2j);
22  
  S java = conceptLanguageToEnglish_xyz_noCrazy(clUnparse(l));
23  
  ret struct(javaEval(java));
24  
}

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: #1007858
Snippet name: English 2 Java [dev.]
Eternal ID of this version: #1007858/10
Text MD5: 4809010bd1c8b02356f87288e64d9ee5
Transpilation MD5: 4d7f5e098b9edc15f38fc4ed5dc360cc
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-12 00:47:20
Source code size: 585 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 388 / 469
Version history: 9 change(s)
Referenced in: [show references]