Uses 3874K of libraries. Click here for Pure Java version (10708L/74K/255K).
!7 static new JTextField tf; static JTable tblResult, tblProductions; p { magellan(); aiEnhancements(); swing { showFrame(northAndCenter(textFieldWithButton("Parse", tf = jcenteredtextfield("Can an animal sing?")), /*jhsplit*/(tblResult = sexyTable(), /*tblProductions = sexyTable()*/))); setFrameWidth(tf, 900); onEnter(tf, r-thread { S input = getTextTrim(tf); new L data; try { S cl = englishToConceptLanguage(input); data.add(litorderedmap( "Computer Language", cl, "English", conceptLanguageToEnglish(cl))); } catch e { data.add(litorderedmap("Error: " + printStackTrace(e))); } showTable(tblResult, data); }); simulateEnter(tf); hideConsole(); } }
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: | #1007772 |
Snippet name: | Parser Visualizer [dev.] |
Eternal ID of this version: | #1007772/10 |
Text MD5: | 205462d52b10de2b8886ab26c734dfe2 |
Transpilation MD5: | de456a74ebb9f8cd0e010627aade0c4b |
Author: | stefan |
Category: | javax / a.i. / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-04-05 18:10:46 |
Source code size: | 801 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 541 / 677 |
Version history: | 9 change(s) |
Referenced in: | -