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

48
LINES

< > BotCompany Repo | #1016583 // JavaX Hello World using x30_util [OK]

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

Libraryless. Click here for Pure Java version (197L/2K/5K).

!7

import x30_pkg.x30_util;
import static x30_pkg.x30_util.eq;
import static x30_pkg.x30_util.isFalse;
import static x30_pkg.x30_util.rethrow;
import static x30_pkg.x30_util.fail;
import static x30_pkg.x30_util.multiMapPut;
import static x30_pkg.x30_util.getExceptionCause;
import static x30_pkg.x30_util.print_append;
import static x30_pkg.x30_util.newWeakHashMap;
import static x30_pkg.x30_util.fixNewLines;
import static x30_pkg.x30_util.join;
import static x30_pkg.x30_util.joinWithSpace;
import static x30_pkg.x30_util.isHeadless;
import static x30_pkg.x30_util.isAndroid;
import static x30_pkg.x30_util.call_checkArgs;
import static x30_pkg.x30_util._handleError;
import static x30_pkg.x30_util.endsWithLetterOrDigit;
import static x30_pkg.x30_util.isAWTThread;
import static x30_pkg.x30_util.str;
import static x30_pkg.x30_util.currentThread;

static O callF(O f, O... args) ctex {
  if (f instanceof S)
    ret callMC((S) f, args);
  ifclass DynamicCallable
    if (f instanceof DynamicCallable)
      ret f/DynamicCallable._dyn(args);
  endif
  ret x30_util.callF(f, args);
}

static O callMC(S method, O... args) {
  ret call(mc(), method, args);
}

static O call(O o) {
  ret callF(o);
}

static O call(O o, S method, O... args) {
  ret x30_util.call(o, method, args);
}

p {
  print("Hello world!");
}

Author comment

Began life as a copy of #1016415

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016583
Snippet name: JavaX Hello World using x30_util [OK]
Eternal ID of this version: #1016583/21
Text MD5: 6cc244cb3f3c31ec992d23b3413b779e
Transpilation MD5: a789bb3012bcb18de6dfe4ebae0229a4
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-24 14:47:35
Source code size: 1361 bytes / 48 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 602
Version history: 20 change(s)
Referenced in: [show references]