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

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

1  
!7
2  
3  
//set flag AllowMetaCode.
4  
//meta-postProcess { tok_embeddedFunctions }
5  
6  
sS bla() {
7  
  S x = "hello";
8  
  
9  
  embedded S calc() { ret x + " " + x; }
10  
  
11  
  ret calc() + " " + calc();
12  
}
13  
14  
p-exp {
15  
  print(bla());
16  
}

Author comment

Began life as a copy of #1025199

download  show line numbers  debug dex   

Travelled to 2 computer(s): mqqgnosmbjvj, tvejysmllsmz

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: 84 / 139
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1025201 & http://1025201.tinybrain.de