File
src/gnu/gforth/Gforth_n2o.java
— part of check-in
[0a7b40a08c]
at
2015-12-25 20:21:15
on branch trunk
— First build for Android app
(user:
bernd
size: 858)
0000: 2f 2a 20 41 6e 64 72 6f 69 64 20 61 63 74 69 76 /* Android activ
0010: 69 74 79 20 66 6f 72 20 47 66 6f 72 74 68 20 6f ity for Gforth o
0020: 6e 20 41 6e 64 72 6f 69 64 0a 0a 20 20 43 6f 70 n Android.. Cop
0030: 79 72 69 67 68 74 20 28 43 29 20 32 30 31 33 20 yright (C) 2013
0040: 46 72 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f Free Software Fo
0050: 75 6e 64 61 74 69 6f 6e 2c 20 49 6e 63 2e 0a 0a undation, Inc...
0060: 20 20 54 68 69 73 20 66 69 6c 65 20 69 73 20 70 This file is p
0070: 61 72 74 20 6f 66 20 47 66 6f 72 74 68 2e 0a 0a art of Gforth...
0080: 20 20 47 66 6f 72 74 68 20 69 73 20 66 72 65 65 Gforth is free
0090: 20 73 6f 66 74 77 61 72 65 3b 20 79 6f 75 20 63 software; you c
00a0: 61 6e 20 72 65 64 69 73 74 72 69 62 75 74 65 20 an redistribute
00b0: 69 74 20 61 6e 64 2f 6f 72 0a 20 20 6d 6f 64 69 it and/or. modi
00c0: 66 79 20 69 74 20 75 6e 64 65 72 20 74 68 65 20 fy it under the
00d0: 74 65 72 6d 73 20 6f 66 20 74 68 65 20 47 4e 55 terms of the GNU
00e0: 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 63 20 General Public
00f0: 4c 69 63 65 6e 73 65 0a 20 20 61 73 20 70 75 62 License. as pub
0100: 6c 69 73 68 65 64 20 62 79 20 74 68 65 20 46 72 lished by the Fr
0110: 65 65 20 53 6f 66 74 77 61 72 65 20 46 6f 75 6e ee Software Foun
0120: 64 61 74 69 6f 6e 2c 20 65 69 74 68 65 72 20 76 dation, either v
0130: 65 72 73 69 6f 6e 20 33 0a 20 20 6f 66 20 74 68 ersion 3. of th
0140: 65 20 4c 69 63 65 6e 73 65 2c 20 6f 72 20 28 61 e License, or (a
0150: 74 20 79 6f 75 72 20 6f 70 74 69 6f 6e 29 20 61 t your option) a
0160: 6e 79 20 6c 61 74 65 72 20 76 65 72 73 69 6f 6e ny later version
0170: 2e 0a 0a 20 20 54 68 69 73 20 70 72 6f 67 72 61 ... This progra
0180: 6d 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 m is distributed
0190: 20 69 6e 20 74 68 65 20 68 6f 70 65 20 74 68 61 in the hope tha
01a0: 74 20 69 74 20 77 69 6c 6c 20 62 65 20 75 73 65 t it will be use
01b0: 66 75 6c 2c 0a 20 20 62 75 74 20 57 49 54 48 4f ful,. but WITHO
01c0: 55 54 20 41 4e 59 20 57 41 52 52 41 4e 54 59 3b UT ANY WARRANTY;
01d0: 20 77 69 74 68 6f 75 74 20 65 76 65 6e 20 74 68 without even th
01e0: 65 20 69 6d 70 6c 69 65 64 20 77 61 72 72 61 6e e implied warran
01f0: 74 79 20 6f 66 0a 20 20 4d 45 52 43 48 41 4e 54 ty of. MERCHANT
0200: 41 42 49 4c 49 54 59 20 6f 72 20 46 49 54 4e 45 ABILITY or FITNE
0210: 53 53 20 46 4f 52 20 41 20 50 41 52 54 49 43 55 SS FOR A PARTICU
0220: 4c 41 52 20 50 55 52 50 4f 53 45 2e 20 20 53 65 LAR PURPOSE. Se
0230: 65 20 74 68 65 0a 20 20 47 4e 55 20 47 65 6e 65 e the. GNU Gene
0240: 72 61 6c 20 50 75 62 6c 69 63 20 4c 69 63 65 6e ral Public Licen
0250: 73 65 20 66 6f 72 20 6d 6f 72 65 20 64 65 74 61 se for more deta
0260: 69 6c 73 2e 0a 0a 20 20 59 6f 75 20 73 68 6f 75 ils... You shou
0270: 6c 64 20 68 61 76 65 20 72 65 63 65 69 76 65 64 ld have received
0280: 20 61 20 63 6f 70 79 20 6f 66 20 74 68 65 20 47 a copy of the G
0290: 4e 55 20 47 65 6e 65 72 61 6c 20 50 75 62 6c 69 NU General Publi
02a0: 63 20 4c 69 63 65 6e 73 65 0a 20 20 61 6c 6f 6e c License. alon
02b0: 67 20 77 69 74 68 20 74 68 69 73 20 70 72 6f 67 g with this prog
02c0: 72 61 6d 3b 20 69 66 20 6e 6f 74 2c 20 73 65 65 ram; if not, see
02d0: 20 68 74 74 70 3a 2f 2f 77 77 77 2e 67 6e 75 2e http://www.gnu.
02e0: 6f 72 67 2f 6c 69 63 65 6e 73 65 73 2f 2e 0a 2a org/licenses/..*
02f0: 2f 0a 0a 70 61 63 6b 61 67 65 20 67 6e 75 2e 67 /..package gnu.g
0300: 66 6f 72 74 68 3b 0a 0a 69 6d 70 6f 72 74 20 67 forth;..import g
0310: 6e 75 2e 67 66 6f 72 74 68 2e 47 66 6f 72 74 68 nu.gforth.Gforth
0320: 3b 0a 0a 70 75 62 6c 69 63 20 63 6c 61 73 73 20 ;..public class
0330: 47 66 6f 72 74 68 5f 6e 32 6f 20 65 78 74 65 6e Gforth_n2o exten
0340: 64 73 20 67 6e 75 2e 67 66 6f 72 74 68 2e 47 66 ds gnu.gforth.Gf
0350: 6f 72 74 68 20 7b 20 7d 3b 0a orth { };.