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

9
LINES

< > BotCompany Repo | #1034623 // mainTranspilationSnippetFromSrc

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (5369L/30K).

/* finds comments in JavaX source looking like this:
   // !transpileMainSnippet #123
*/

sS mainTranspilationSnippetFromSrc(S src) {
  ret regexpFirstGroup(
    "^!transpileMainSnippet\\s+(#\\d+)",
    trimmedJavaLineComments(src));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034623
Snippet name: mainTranspilationSnippetFromSrc
Eternal ID of this version: #1034623/4
Text MD5: e2ea136d28ef37d5d38a5fd4a53307b1
Transpilation MD5: 491818690b45f555507721a148f02bc9
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-24 19:31:22
Source code size: 243 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 200
Version history: 3 change(s)
Referenced in: [show references]