1 | <h1>Advantages of JavaX</h1> |
2 | |
3 | <h2> JavaX is supremely easy to run.</h2> |
4 | |
5 | <p>All you need is Java (version 6 or higher) and <a href="http://sourceforge.net/projects/java-x/files/x12.jar/download">one jar file</a>. (<a href="http://tinybrain.de/2000360">source</a>)</p> |
6 | |
7 | <h2> Programs don't need to be installed.</h2> |
8 | |
9 | <p>You reference them by ID and they are downloaded automatically from the <a href="http://snippets.tinybrain.de">central repository</a>.</p> |
10 | |
11 | <p>Example: <b>java -jar x12.jar <a href="http://tinybrain.de/610">610</a></b> (will print 'hello')</p> |
12 | |
13 | <h2> Every Java program is a JavaX program. </h2> |
14 | |
15 | <p>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.</p> |
16 | |
17 | <h2> JavaX adapts to any syntax.</h2> |
18 | |
19 | <p>Really, anything. All you need is a "translator" (and we love to build those!).</p> |
20 | |
21 | <p>Just put the translator ID at the start of your program. <a href="http://tinybrain.de/593">Example here.</a></p> |
22 | |
23 | <h2> List of available translators growing every day!</h2> |
24 | |
25 | <p>Examples:</p> |
26 | |
27 | <ul> |
28 | <li><a href="http://tinybrain.de/609">#609</a> - adds 'main' class declaration and main method</li> |
29 | <li><a href="http://tinybrain.de/592">#592</a> - adds imports automatically (the ones I need anyways - you can adapt this to your needs in like 1 minute)</li> |
30 | <li><a href="http://tinybrain.de/1000265">#1000265</a> - adds some standard functions that I need if they are referenced, but not declared (you can of course adapt this too)</li> |
31 | </ul> |
32 | |
33 | <p>Sometimes translators take little input and produce whole programs.</p> |
34 | |
35 | <p>Example: <a href="http://tinybrain.de/598">#598</a> 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.</p> |
Began life as a copy of #2000336
download render html show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #623 |
Snippet name: | Advantages of JavaX (expanded HTML) |
Eternal ID of this version: | #623/1 |
Text MD5: | f345c82bf5e41c12fd9cdc67465eaef2 |
Author: | stefan |
Category: | javax |
Type: | HTML |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-05-23 15:44:15 |
Source code size: | 1884 bytes / 35 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 730 / 1087 |
Referenced in: | [show references] |