Last change
on this file since 353 was 346, checked in by wouter, 2 years ago |
version 0.1 of automatic java to python translator. Can translate some simple programs, lot of work remains to be done
|
File size:
458 bytes
|
Line | |
---|
1 | package testcode;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Test for translation to python.<br>
|
---|
5 | * Extra line for multiline-test.
|
---|
6 | */
|
---|
7 | public class HelloWorld {
|
---|
8 | // check static
|
---|
9 | private static String username = "Jan", lastname = "Coens"; // multivar
|
---|
10 |
|
---|
11 | /**
|
---|
12 | *
|
---|
13 | * @param args the arguments of the call.
|
---|
14 | */
|
---|
15 | static public void main(String[] args) {
|
---|
16 | // simple print
|
---|
17 | System.out.println("Hello " + username + "!");
|
---|
18 | /*
|
---|
19 | * Some block comment to test this type of comment too
|
---|
20 | */
|
---|
21 | }
|
---|
22 |
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.