• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

arch/H13-Jun-2014-17,54214,233

asm/H13-Jun-2014-672505

compat/H11-Oct-2013-623490

doc/H07-May-2022-35,91628,202

ec/H13-Jun-2014-314231

engine/H03-May-2022-29,19424,984

kernel/H13-Jun-2014-6,6035,445

test/H13-Jun-2014-3,0712,497

unix/H13-Jun-2014-188156

vmgen-ex/H13-Jun-2014-1,459992

vmgen-ex2/H13-Jun-2014-1,456995

AUTHORSH A D11-Oct-20131.3 KiB4131

BUGSH A D11-Oct-20133.8 KiB9974

BUILD-FROM-SCRATCHH A D11-Oct-20131 KiB3423

BenchresH A D11-Oct-201313.6 KiB169154

COPYINGH A D11-Oct-201334.3 KiB675553

COPYING.DOCH A D11-Oct-201317.7 KiB356292

ChangeLogH A D11-Oct-2013356.9 KiB9,1945,915

INSTALLH A D11-Oct-20137.7 KiB222147

INSTALL.BINDISTH A D11-Oct-20131.3 KiB3526

INSTALL.DOSH A D11-Oct-20135.6 KiB142106

Makedist.inH A D11-Oct-20134.5 KiB11496

Makefile.inH A D03-May-202235.1 KiB1,011721

NEWSH A D11-Oct-201314 KiB373303

NEWS.vmgenH A D11-Oct-20132.5 KiB7046

READMEH A D11-Oct-20135.3 KiB152125

README.vmgenH A D11-Oct-20132.8 KiB6951

ToDoH A D11-Oct-20133.7 KiB10789

aclocal.m4H A D13-Jun-20142.6 KiB6255

add.fsH A D11-Oct-2013906 2516

ans-report.fsH A D11-Oct-20135 KiB196163

ansi.fsH A D11-Oct-20132.7 KiB9469

answords.fsH A D11-Oct-201316.9 KiB383379

assert.fsH A D11-Oct-20131.9 KiB6149

autogen.shH A D11-Oct-20131.1 KiB385

backtrac.fsH A D11-Oct-20132.8 KiB11493

blocked.fbH A D11-Oct-20134 KiB11

blocks.fsH A D11-Oct-201310.1 KiB301249

bubble.fsH A D11-Oct-20131.4 KiB7557

bufio.fsH A D11-Oct-20131.3 KiB4228

build-ec.inH A D11-Oct-20131.1 KiB276

cache-fast0.vmgH A D11-Oct-20132.4 KiB8873

cache-fast1.vmgH A D11-Oct-20132.8 KiB10285

cache-fast2.vmgH A D11-Oct-20132.4 KiB8873

cache-fast3.vmgH A D11-Oct-20132.4 KiB8873

cache-fast4.vmgH A D11-Oct-20132.4 KiB8873

cache-fast5.vmgH A D11-Oct-20132.4 KiB8672

cache-fast6.vmgH A D11-Oct-20132.4 KiB8672

cache-fast7.vmgH A D11-Oct-20132.4 KiB8672

cache-fast8.vmgH A D11-Oct-20132.4 KiB8672

cache-regs1.vmgH A D11-Oct-2013891 2720

cache-regs2.vmgH A D11-Oct-2013871 2619

cache-regs3.vmgH A D11-Oct-2013851 2518

cache-regs4.vmgH A D11-Oct-2013831 2417

cache0.vmgH A D11-Oct-20131.6 KiB5844

cache1.vmgH A D11-Oct-20131.7 KiB6248

chains.fsH A D11-Oct-20131.7 KiB5740

code.fsH A D11-Oct-20131.8 KiB5339

colorize.fsH A D11-Oct-20131.8 KiB6043

comp-i.fsH A D11-Oct-20134.4 KiB134117

complex.fsH A D11-Oct-20134.9 KiB131102

config.batH A D11-Oct-20131.9 KiB4747

config.guessH A D11-Oct-201343.5 KiB1,5171,305

config.subH A D11-Oct-201332 KiB1,6271,483

configureH A D13-Jun-2014239.7 KiB8,7307,167

configure.cmdH A D11-Oct-20132.9 KiB7867

configure.inH A D13-Jun-201428.9 KiB938856

cross.fsH A D11-Oct-201396.7 KiB3,8563,039

cstr.fsH A D11-Oct-2013940 2417

debug.fsH A D11-Oct-20135.5 KiB208168

debugs.fsH A D11-Oct-20132.3 KiB6547

depth-changes.fsH A D11-Oct-20131.8 KiB7049

dis-gdb.fsH A D11-Oct-20132.3 KiB5745

dosconf.hH A D11-Oct-20131.8 KiB6716

dosekey.fsH A D11-Oct-20132.8 KiB10183

doskey.fsH A D11-Oct-20131.1 KiB3726

ds2texi.fsH A D11-Oct-20135.5 KiB232202

ekey.fsH A D11-Oct-201311.6 KiB378329

elisp-compH A D11-Oct-20132.6 KiB9050

endtry-iferror.fsH A D11-Oct-2013974 2618

environ.fsH A D11-Oct-20134 KiB11681

envos.dosH A D11-Oct-2013864 2316

envos.fsH A D13-Jun-20141.7 KiB4936

envos.fs.inH A D03-May-20221.7 KiB4936

envos.os2H A D11-Oct-2013864 2316

errors.fsH A D11-Oct-20134.1 KiB10791

etags.fsH A D11-Oct-20133.6 KiB11895

exboot.fsH A D11-Oct-20131.3 KiB3928

except.fsH A D11-Oct-20135.1 KiB164138

extend.fsH A D11-Oct-20139.3 KiB296249

fflib.fsH A D11-Oct-201311 KiB348296

fft.fsH A D11-Oct-20132.8 KiB8163

fi2c.fsH A D11-Oct-20135.7 KiB208168

fib.fsH A D11-Oct-2013297 1513

filedump.fsH A D11-Oct-20131.2 KiB3725

fixpath.fsH A D11-Oct-20131.5 KiB5238

float.fsH A D11-Oct-20137 KiB247200

fsl-util.4thH A D11-Oct-201310.4 KiB398291

gfgenH A D11-Oct-20132.2 KiB3510

gforth.elH A D28-Feb-201464 KiB1,6941,182

gforthmi.batH A D11-Oct-20131.5 KiB4641

gforthmi.cmdH A D11-Oct-20131.4 KiB4437

gforthmi.inH A D11-Oct-20132.3 KiB5937

glocals.fsH A D11-Oct-201321.3 KiB697573

glosgen.fsH A D11-Oct-20135.6 KiB234201

glosgen.gloH A D11-Oct-20132.1 KiB5036

gray.fsH A D11-Oct-201318.4 KiB817661

hash.fsH A D11-Oct-20135.7 KiB228187

history.fsH A D11-Oct-201310.1 KiB368303

httpd.fsH A D11-Oct-20138.3 KiB274213

install-shH A D11-Oct-201312.9 KiB508340

install-tags.fsH A D11-Oct-20131.4 KiB4728

intcomp.fsH A D11-Oct-20133 KiB9171

iss.shH A D11-Oct-20136.1 KiB138100

lib.fsH A D11-Oct-20132.5 KiB10273

libcc.fsH A D11-Oct-201319 KiB665530

libffi.fsH A D11-Oct-201313.3 KiB454359

locals.fsH A D11-Oct-20134.4 KiB11088

locate.fsH A D11-Oct-20131.9 KiB6249

look.fsH A D11-Oct-20132.9 KiB12498

mach16b.fsH A D11-Oct-20131 KiB3223

mach16l.fsH A D11-Oct-20131 KiB3223

mach32b.fsH A D11-Oct-20131 KiB3223

mach32l.fsH A D11-Oct-20131 KiB3223

mach64b.fsH A D11-Oct-20131 KiB3223

mach64l.fsH A D11-Oct-20131 KiB3223

machpc.fs.inH A D11-Oct-20133.7 KiB12278

make-app.fsH A D11-Oct-20131.2 KiB3623

makefile.dosH A D11-Oct-201335 KiB1,019727

makefile.os2H A D11-Oct-201335.6 KiB1,023753

matrix.fsH A D11-Oct-20131.3 KiB5643

mini-oof.fsH A D11-Oct-2013655 1413

missingH A D11-Oct-201310.8 KiB365275

mkdir.fsH A D11-Oct-20131.6 KiB5242

mkdosmf.sedH A D11-Oct-20132.6 KiB8478

mkinstalldirsH A D11-Oct-20131.8 KiB10072

mkos2mf.sedH A D11-Oct-20133.2 KiB9691

modelH A D11-Oct-20131.8 KiB5739

moof-exm.fsH A D11-Oct-20131.3 KiB5642

moofglos.fsH A D11-Oct-20131.3 KiB3930

more.fsH A D11-Oct-20131.8 KiB6549

objects.fsH A D11-Oct-201316.8 KiB528429

objexamp.fsH A D11-Oct-20132.6 KiB186136

oldlib.fsH A D11-Oct-20133.8 KiB125103

onebench.fsH A D11-Oct-20131.1 KiB3626

oof.fsH A D11-Oct-201318.7 KiB661521

oofsampl.fsH A D11-Oct-20134.8 KiB200165

os2conf.hH A D11-Oct-20131.8 KiB6616

other.fsH A D11-Oct-20131.2 KiB3928

peeprules.vmgH A D11-Oct-20139.2 KiB260246

preforth.inH A D11-Oct-20131 KiB3211

primH A D11-Oct-201361.3 KiB2,5692,190

prim.bH A D11-Oct-201376.4 KiB3,6963,229

prims2x.fsH A D11-Oct-201356.2 KiB1,9841,663

prims2x0.6.2.fsH A D11-Oct-201344.5 KiB1,5881,338

proxy.fsH A D11-Oct-20135.4 KiB213161

quotes.fsH A D11-Oct-20134 KiB119103

random.fsH A D11-Oct-2013935 2717

recover-endtry.fsH A D11-Oct-20131.2 KiB3424

regexp.fsH A D11-Oct-20139.4 KiB291244

savesys.fsH A D11-Oct-20131.9 KiB6453

search.fsH A D11-Oct-20138.9 KiB277217

see-ext.fsH A D11-Oct-20132.3 KiB8469

see.fsH A D11-Oct-201320.5 KiB819722

siev.fsH A D11-Oct-2013572 2420

sieve.fsH A D11-Oct-2013507 2115

simp-see.fsH A D11-Oct-20132 KiB6248

sokoban.fsH A D11-Oct-201329.8 KiB1,4081,371

source.fsH A D11-Oct-20131.6 KiB4935

stamp-h.inH A D13-Jun-201410 21

startup.fsH A D11-Oct-20133 KiB124111

string.fsH A D11-Oct-20132 KiB5644

struct.fsH A D11-Oct-20133.8 KiB10989

struct0x.fsH A D11-Oct-20131.5 KiB5136

stuff.fsH A D11-Oct-201311.6 KiB390323

table.fsH A D11-Oct-20131.1 KiB3422

tags.fsH A D11-Oct-20133.5 KiB11086

tasker.fsH A D11-Oct-20133.2 KiB10484

termsize.fsH A D11-Oct-2013962 3222

timings.scH A D11-Oct-201310.7 KiB594592

tt.fsH A D11-Oct-20138.8 KiB373292

unbuffer.fsH A D11-Oct-20131.1 KiB3324

utf-8.fsH A D11-Oct-20138.3 KiB336298

versions.bshH A D11-Oct-2013766 1913

vmgen.inH A D11-Oct-20132.3 KiB5030

vt100.fsH A D11-Oct-20131.3 KiB3726

vt100key.fsH A D11-Oct-20131.4 KiB4836

wordinfo.fsH A D11-Oct-20133.1 KiB12091

wordsets.fsH A D11-Oct-20133.9 KiB14493

xwords.fsH A D11-Oct-20131.8 KiB7658

README

1Gforth is a fast and portable implementation of the ANS Forth
2language. It works nicely with the Emacs editor, offers some nice
3features such as input completion and history, backtraces, a
4decompiler and a powerful locals facility, and it even has a
5manual. Gforth combines traditional implementation techniques with
6newer techniques for portability and performance: its inner
7interpreter is direct threaded with several optimizations, but you can
8also use a traditional-style indirect threaded interpreter.  Gforth is
9distributed under the GNU General Public license (see COPYING).
10
11Gforth runs under GNU, BSD, and similar systems, MS Windows, MacOS X,
12OS/2, and DOS and should not be hard to port to other systems
13supported by GCC. This version has been tested successfully on the
14following platforms:
15
16alpha-unknown-linux-gnu
17 gcc-2.95.2 19991024 (release)
18 gcc-2.95.4 20011002 (Debian prerelease)
19 gcc-3.3.6 (Debian 1:3.3.6-15)
20 gcc-3.4.6 (Debian 3.4.6-5)
21 gcc-4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
22armv5l-unknown-linux-gnu
23 gcc-3.3.6 (Debian 1:3.3.6-15)
24 broken: gcc-4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
25           <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31152>
26i686-pc-linux-gnu
27 gcc-2.95.4 20011002 (Debian prerelease)
28 gcc-3.3.5 (Debian 1:3.3.5-13)
29 gcc-3.4.4 20050314 (prerelease) (Debian 3.4.3-13sarge1)
30ia64-hp-hpux11.23
31 gcc-4.1.1
32 broken: gcc-3.4.3
33powerpc-unknown-linux-gnu
34 gcc-2.95.4 20011002 (Debian prerelease)
35 gcc-3.2.3 (Debian)
36 gcc-3.3.6 (Debian 1:3.3.6-15)
37 gcc-3.4.6 (Debian 3.4.6-8)
38 gcc-4.0.3 20060128 (prerelease) (Debian 4.0.2-8)
39 gcc-4.1.3 20080623 (prerelease) (Debian 4.1.2-23)
40 gcc-4.3.2
41powerpc64-unknown-linux-gnu
42 gcc-3.4.6 (Debian 3.4.6-5)
43 gcc-4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
44sparc-sun-solaris2.10
45 gcc-3.4.3 (csl-sol210-3_4-branch+sol_rpath)
46 gcc-4.0.2
47x86_64-unknown-linux-gnu
48 gcc-3.3.6 (Debian 1:3.3.6-15)
49 gcc-3.4.6 (Debian 3.4.6-5)
50 gcc-4.0.0
51 gcc-4.0.4 20060904 (prerelease) (Debian 4.0.3-7)
52 gcc-4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
53 gcc-4.1.3 20080623 (prerelease) (Debian 4.1.2-23)
54 gcc-4.2.0
55 gcc-4.2.4 (Debian 4.2.4-3)
56 gcc-4.3.1
57i386-apple-darwin9.4.0
58x86_64-apple-darwin9.4.0
59ppc-apple-darwin9.4.0
60i686-pc-cygwin
61gforth-ec: r8c, 4stack, misc, 8086
62
63Read INSTALL for installation instructions from source, or INSTALL.DOS
64for DOS, Windows, and OS/2 from source, or INSTALL.BINDIST if you have
65a binary package distributed as .tar.gz or .zip file.  If you received
66a self-installing executable, just run it and follow the instructions.
67
68To start the system, just say `gforth' (after installing it).
69
70You can find new versions of Gforth at ftp://ftp.gnu.org/gnu/gforth/
71and its mirrors or at
72
73http://www.complang.tuwien.ac.at/forth/gforth/
74or
75ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/
76
77The latter site also contains binary distributions of Gforth for some
78popular platforms.
79
80If you want to work on Gforth, mail me. Tasks to be done can be found
81in ToDo; but if you would like to do something not mentioned there,
82it's ok, too. In any case, we would like to hear what you are
83doing. The most important task IMO is the foreign language interface
84for C.
85
86On popular request, here are the meanings of unusual file extensions:
87
88*.fs	Forth stream source file (include with "include <file>" from within
89        gforth, or start with "gforth <file1> <file2> ...")
90*.fi	Forth image files (start with "gforth -i <image file>")
91*.fb	Forth blocks file (load with "use <block file> 1 load")
92*.i	C include files
93*.ds	documenation source
94*TAGS	etags files
95
96A number of Forth source files are included in this package that are
97not necessary for building Gforth. Not all of them are mentioned in
98the rest of the documentation, so here's a short overview:
99
100Add-ons:
101code.fs random.fs more.fs ansi.fs colorize.fs
102oof.fs oofsampl.fs objects.fs blocked.fb tasker.fs
103
104Utilities:
105ans-report.fs etags.fs glosgen.fs filedump.fs
106
107Games:
108tt.fs sokoban.fs
109
110Test programs (for testing Forth systems):
111test/*.fs
112
113Benchmarks:
114bubble.fs siev.fs matrix.fs fib.fs
115
116ANS Forth implementations of Gforth extensions:
117compat/*.fs
118
119For discussions about Gforth, use the Usenet newsgroup
120comp.lang.forth.  If you prefer not to post on Usenet, there is also a
121mailing list: GForth@ChaosSolutions.org.  To subscribe, send a mail to
122gforth-subscribe@chaossolutions.org with:
123
124subscribe GForth
125
126as the first and only line within the message body.  You can also
127report bugs through these channels, or you can report them through our
128bug database:
129
130https://savannah.gnu.org/bugs/?func=addbug&group=gforth
131
132- anton
133anton@mips.complang.tuwien.ac.at
134http://www.complang.tuwien.ac.at/anton/home.html
135-----
136Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2006,2007,2008 Free Software Foundation, Inc.
137
138This file is part of Gforth.
139
140Gforth is free software; you can redistribute it and/or
141modify it under the terms of the GNU General Public License
142as published by the Free Software Foundation, either version 3
143of the License, or (at your option) any later version.
144
145This program is distributed in the hope that it will be useful,
146but WITHOUT ANY WARRANTY; without even the implied warranty of
147MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
148GNU General Public License for more details.
149
150You should have received a copy of the GNU General Public License
151along with this program. If not, see http://www.gnu.org/licenses/.
152

README.vmgen

1Vmgen supports the construction of interpretive systems by generating
2the code for executing and dealing with virtual machine (VM)
3instructions from simple descriptions of the VM instructions.
4
5This file is about Vmgen-specific issues.  Issues affecting both
6Gforth and Vmgen (e.g., platform compatibility) are discussed in
7README.
8
9Vmgen generates code for executing VM instructions (with optional
10tracing), for generating VM code, for disassembling VM code, and for
11profiling VM instruction sequences.  A VM instruction description
12looks like this:
13
14add  ( i1 i2 -- i )
15i = i1+i2;
16
17Vmgen supports several techniques for writing efficient interpreters:
18virtual machine interpreters, threaded code, combining VM instructions
19into superinstructions, keeping the top-of-stack in a register,
20scheduling the dispatch of the next VM instruction, and a couple of
21minor optimizations.  Interpreters created with vmgen usually are
22faster than competing interpreters and are typically only a factor of
232-10 slower than the code generateed by native-code compilers.
24
25Vmgen has special support for stack-based VMs (but it can also be
26used to advantage when implementing a register-based VM).
27
28Changes in Vmgen from earlier releases are explained in NEWS.vmgen.
29
30After installation the documentation is available in info form and in
31printable form (doc/vmgen.ps).
32
33There is a simple usage example in vmgen-ex (and a variation on that
34in vmgen-ex2).  See the documentation for more information on that.
35
36To report a bug, use
37<https://savannah.gnu.org/bugs/?func=addbug&group_id=2672>.  For
38discussion on Vmgen (e.g., how to use it), use the
39bug-vmgen@mail.freesoftware.fsf.org mailing list (use
40<http://mail.gnu.org/mailman/listinfo/help-vmgen> to subscribe).
41
42You can find vmgen at http://www.complang.tuwien.ac.at/anton/vmgen/.
43
44Vmgen is currently distributed with Gforth (because it needs Gforth to
45run, and Gforth needs it to build), and is installed together with
46Gforth (read INSTALL for instructions).
47
48Note that future versions of vmgen may require small changes in
49programs written for the present version (e.g., requiring a few
50additional macro definitions).
51
52-----
53Copyright (C) 2001, 2002, 2003,2007 Free Software Foundation, Inc.
54
55This file is part of Gforth.
56
57Gforth is free software; you can redistribute it and/or
58modify it under the terms of the GNU General Public License
59as published by the Free Software Foundation, either version 3
60of the License, or (at your option) any later version.
61
62This program is distributed in the hope that it will be useful,
63but WITHOUT ANY WARRANTY; without even the implied warranty of
64MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
65GNU General Public License for more details.
66
67You should have received a copy of the GNU General Public License
68along with this program. If not, see http://www.gnu.org/licenses/.
69