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

16
LINES

< > BotCompany Repo | #1025201 // Embedded function test (actual)

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

Download Jar. Libraryless. Click here for Pure Java version (6809L/48K).

!7

//set flag AllowMetaCode.
//meta-postProcess { tok_embeddedFunctions }

sS bla() {
  S x = "hello";
  
  embedded S calc() { ret x + " " + x; }
  
  ret calc() + " " + calc();
}

p-exp {
  print(bla());
}

Author comment

Began life as a copy of #1025199

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025201
Snippet name: Embedded function test (actual)
Eternal ID of this version: #1025201/5
Text MD5: 3482c865deae7eb260fd45328ec59b8d
Transpilation MD5: d2b72bda4918bfeda9c46d6860b82511
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-13 13:16:36
Source code size: 223 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 780 / 1802
Version history: 4 change(s)
Referenced in: [show references]