Uses 2039K of libraries. Click here for Pure Java version (14410L/100K).
!7 sclass JavaParserModule > DynModule { transient SimpleLiveValue<S> output = new(S); transient SimpleLiveValue<S> input = new(S); transient ReliableSingleThread rst = new(r parse); visualize { ret jLiveValueWordWrapTypeWriterTextArea(output); } start { input.onChange(rTrigger(rst)); } void update { input.set(dm_interestingString()); } void parse { output.set("Parsing..."); try { javaParseCompilationUnit(input!); output.set("Text parses as Java compilation unit"); } catch e { output.set(firstLine(getInnerMessage(e))); } } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015810 | 
| Snippet name: | Dyn Module: Java Parser | 
| Eternal ID of this version: | #1015810/15 | 
| Text MD5: | 749c863e18f2d185ecc9598175ffe4bb | 
| Transpilation MD5: | b08f78283f2150ae5c8c7e44b69acd9a | 
| Author: | stefan | 
| Category: | javax / stefan's os | 
| Type: | JavaX source code (Dynamic Module) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-07-14 14:50:14 | 
| Source code size: | 607 bytes / 23 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 556 / 1017 | 
| Version history: | 14 change(s) | 
| Referenced in: | [show references] |