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

31
LINES

< > BotCompany Repo | #2000332 // Advantages of JavaX (shortened HTML)

New Tinybrain snippet

1  
*** Advantages of JavaX
2  
3  
** JavaX is supremely easy to run.
4  
5  
All you need is a JDK (version 6 or higher) and <a href="http://tinybrain.de/x9.class">one class file</a>.
6  
7  
** Programs don't need to be installed.
8  
9  
You reference them by ID and they are downloaded automatically from the <a href="http://snippets.tinybrain.de">central repository</a>.
10  
11  
Example: <b>java x9 <a href="http://tinybrain.de/610">610</a></b> (will print 'hello')
12  
13  
** Every Java program is a JavaX program. 
14  
15  
You can also run any local Java code. Just say <b>java x9 <i>sourcefolder</i></b>. You only have to make sure there is a "main" class in there.
16  
17  
** JavaX adapts to any syntax.
18  
19  
Really, anything. All you need is a "translator" (and we love to build those!).
20  
21  
Just put the translator ID at the start of your program. <a href="http://tinybrain.de/593">Example here.</a>
22  
23  
** List of available translators growing every day!
24  
25  
Examples:
26  
27  
#609 - adds 'main' class declaration and main method
28  
#592 - adds imports automatically (the ones I need anyways - you can adapt this to your needs in like 1 minute)
29  
#1000265 - adds some standard functions that I need if they are referenced, but not declared (you can of course adapt this too)
30  
31  
Sometimes translators take little input and produce whole programs. Example: #598 makes a whole webserver. Your program can even be empty apart from the reference to the translator. "!598" is a valid JavaX program that starts a webserver on port 8080.

download  show line numbers   

Snippet is not live.

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

No comments. add comment

Snippet ID: #2000332
Snippet name: Advantages of JavaX (shortened HTML)
Eternal ID of this version: #2000332/1
Text MD5: c4218b68df9ab0f03e86c9f642a81b30
Author: stefan
Category: javax
Type: New Tinybrain snippet
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-05-06 17:38:52
Source code size: 1485 bytes / 31 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 655 / 132
Referenced in: [show references]