Added licensing to startup message.
[forth.jl.git] / src / lib.4th
1 : \ IMMEDIATE
2         #IB @ >IN !
3 ; \ We can now comment!
4
5 \ Compile core definitions
6 \ (These files must be compiled in order!)
7
8 include lib_1_basic.4th
9 include lib_2_control.4th
10 include lib_3_input.4th
11 include lib_4_comments.4th
12 include lib_5_printnum.4th
13 include lib_6_strings.4th
14 include lib_7_variables.4th
15 include lib_8_vocab.4th
16 include lib_9_decompiler.4th
17 include lib_10_misc.4th
18 include lib_11_extensions.4th
19
20 : LICENSE
21     CR
22     ." This program is free software: you can redistribute it and/or modify" CR
23     ." it under the terms of the GNU General Public License as published by" CR
24     ." the Free Software Foundation, either version 3 of the License, or" CR
25     ." (at your option) any later version." CR
26     ." " CR
27     ." This program is distributed in the hope that it will be useful," CR
28     ." but WITHOUT ANY WARRANTY; without even the implied warranty of" CR
29     ." MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the" CR
30     ." GNU General Public License for more details." CR
31     ." " CR
32     ." You should have received a copy of the GNU General Public License" CR
33     ." along with this program.  If not, see http://www.gnu.org/licenses/." CR
34 ;
35
36 : WELCOME
37     SKIP-WELCOME @ INVERT IF
38         ." Welcome to forth.jl!" CR CR
39
40         ." Copyright (C) 2016 Tim Vaughan" CR
41         ." This program comes with ABSOLUTELY NO WARRANY; for details type 'license'" CR
42         ." Type 'bye' or press Ctrl+D to exit." CR CR
43     THEN
44 ;
45 welcome