| 1 : |
anton
|
1.1
|
This directory contains a working example for using vmgen. It's a |
| 2 : |
anton
|
1.2
|
small Modula-2-like programming language. |
| 3 : |
|
|
|
| 4 : |
|
|
You can build the example by first installing Gforth and then saying, |
| 5 : |
|
|
in this directory: |
| 6 : |
|
|
|
| 7 : |
|
|
make |
| 8 : |
|
|
|
| 9 : |
anton
|
1.3
|
Ignore the warnings. You can check that it works with |
| 10 : |
anton
|
1.2
|
|
| 11 : |
|
|
make check |
| 12 : |
|
|
|
| 13 : |
|
|
You can run mini programs like this: |
| 14 : |
|
|
|
| 15 : |
|
|
./mini fib.mini |
| 16 : |
|
|
|
| 17 : |
|
|
To learn about the options, type |
| 18 : |
|
|
|
| 19 : |
|
|
./mini -h |
| 20 : |
|
|
|
| 21 : |
anton
|
1.4
|
More information can be found in the vmgen documentation. |
| 22 : |
anton
|
1.5
|
|
| 23 : |
|
|
----- |
| 24 : |
|
|
Copyright (C) 2001 Free Software Foundation, Inc. |
| 25 : |
|
|
|
| 26 : |
|
|
This file is part of Gforth. |
| 27 : |
|
|
|
| 28 : |
|
|
Gforth is free software; you can redistribute it and/or |
| 29 : |
|
|
modify it under the terms of the GNU General Public License |
| 30 : |
|
|
as published by the Free Software Foundation; either version 2 |
| 31 : |
|
|
of the License, or (at your option) any later version. |
| 32 : |
|
|
|
| 33 : |
|
|
This program is distributed in the hope that it will be useful, |
| 34 : |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 35 : |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the |
| 36 : |
|
|
GNU General Public License for more details. |
| 37 : |
|
|
|
| 38 : |
|
|
You should have received a copy of the GNU General Public License |
| 39 : |
|
|
along with this program; if not, write to the Free Software |
| 40 : |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. |