Up to [cvs.netbsd.org] / pkgsrc / lang / gforth
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 29 21:19:19 2011 UTC (13 months, 3 weeks ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
HEAD
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (colored)
Fix annoying marker bug.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Aug 14 22:52:20 2009 UTC (2 years, 9 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Changes since 1.5: +5 -8
lines
Diff to previous 1.5 (colored)
Update to Gforth 0.7.0.
User-visible changes between 0.6.2 and 0.7.0:
Requirements:
At run-time requires libtool and gcc (for the libcc C interface) and
gdb (for the disassembler (SEE)) on some platforms.
License:
Changed to GPLv3
Bug fixes
Now works with address-space randomization.
The single-step debugger works again in some engines.
Many others.
Ports:
AMD64, ARM, IA-64 (Itanium): better performance
PPC, PPC64: disassembler and assembler
Gforth EC: R8C, 4stack, misc, 8086 work
MacOS X: better support
Invocation:
New flags --ignore-async-signals, --vm-commit (default overcommit)
--print-sequences
Forth 200x:
X:extension-query: produce true for all implemented extensions
X:required REQUIRED etc. (not new)
X:defined: [DEFINED] and [UNDEFINED]
X:parse-name: PARSE-NAME (new name)
X:deferred: deferred words (new: DEFER@ DEFER! ACTION-OF)
X:structures: +FIELD FIELD: FFIELD: CFIELD: etc.
X:ekeys: new: EKEY>FKEY K-SHIFT-MASK K-CTRL-MASK K-ALT-MASK K-F1...K-F12
X:fp-stack (not new)
X:number-prefixes (partially new, see below)
Number prefixes:
0x is a hex prefix: 0xff and 0XfF now produces (decimal) 255
# is a decimal prefix: #10 now produces (decimal) 10
Signs after the number prefix are now accepted, e.g, #-50.
' now only handles a single (x)char: 'ab is no longer accepted,
'a' now produces (decimal) 97
Unicode support (currently supports only uniform encoding):
added xchars words for dealing with variable-width multi-byte characters
provide 8bit (ISO Latin 1) and UTF-8 support for xchars
New words:
\C C-FUNCTION C-LIBRARY END-C-LIBRARY C-LIBRARY-NAME (libcc C interface)
LIB-ERROR (complements OPEN-LIB)
OUTFILE-EXECUTE INFILE-EXECUTE BASE-EXECUTE (limited change of global state)
16-bit and 32-bit memory acces: UW@ UL@ SW@ SL@ W! L! W@ L@ /W /L
NEXT-ARG SHIFT-ARGS (OS command-line argument processing)
NOTHROW (for backtrace control)
FTRUNC FMOD (undocumented)
SEE-CODE SEE-CODE-RANGE (show generated dynamic native code)
Improvements/changes of existing words:
S\", .\" now support \l, \m, \z, and limits hex and octal character specs.
OPEN-FILE with W/O no longer creates or truncates files (no compat. file)
OPEN-LIB now understands ~ at the start, like OPEN-FILE.
TRY...ENDTRY changed significantly, compatibility files available (see docs).
The disassembler (DISCODE) can now use gdb to disassemble code
Uninitialized defered words now give a warning when executed
Division is floored (disable with "configure --enable-force-cdiv")
Gforth (not gforth-fast) reports division by zero and overflow on division
on all platforms.
Newly documented words:
S>NUMBER? S>UNUMBER?
EKEY keypress names: K-LEFT K-RIGHT K-UP K-DOWN K-HOME K-END K-PRIOR
K-NEXT K-INSERT K-DELETE
CLEARSTACKS
FORM
Environment variable GFORTHSYSTEMPREFIX (used by word SYSTEM and friends)
C interface:
exported symbols now start with "gforth_" (for referencing them from C code)
libcc C function call interface (requires libtool and gcc at run-time)
alternative: undocumented libffi-based interface
Libraries:
depth-changes.fs: report stack depth changes during interpretation
ans-report.fs now reports CfV extensions
fsl-util.4th: FSL support files (undocumented)
regexp.fs for regular expressions (undocumented)
complex.fs for complex numbers (undocumented)
fft.fs for Fast Fourier Transform (undocumented)
wf.fs, a Wiki implementation (undocumented)
httpd.fs, a web server (undocumented)
status.fs, show interpreter status in separate xterm (undocumented)
profile.fs for profiling (undocumented, incomplete)
endtry-iferror.fs, recover-endtry.fs to ease the TRY change transition
test/tester.fs: Now works with FP numbers (undocumented)
test/ttester.fs: Version of tester.fs with improved interface (T{...}T).
compat library:
compat/execute-parsing.fs
Speed improvements:
automatic performance tuning on building
static stack caching (good speedup on PPC)
mixed-precision division is now faster
support for int128 types on AMD64
workarounds for gcc performance bugs (in particular, PR 15242)
branch target alignment (good speedup on Alpha).
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 2 02:21:30 2006 UTC (6 years, 4 months ago) by ben
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
pkgsrc-2006Q1-base,
pkgsrc-2006Q1,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
The gforth configure script tests for linker support of -export-dynamic, and then adds it to LDFLAGS. Later, the configure script tests for the presence of certain functions in libc, and expects to get an error at link time if the functions are missing. On Interix with -export-dynamic, the link succeeds even if there are missing functions. This causes configure to detect all tested functions as present, and produce binaries that fail at run time. To work around this issue, postpone adding -export-dynamic to LDFLAGS until the end of the configure script.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 24 09:03:07 2005 UTC (7 years, 3 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base,
pkgsrc-2005Q4,
pkgsrc-2005Q3-base,
pkgsrc-2005Q3,
pkgsrc-2005Q2-base,
pkgsrc-2005Q2,
pkgsrc-2005Q1-base,
pkgsrc-2005Q1
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
Add RMD160 digests
Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 5 00:26:38 2003 UTC (8 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base,
pkgsrc-2004Q4,
pkgsrc-2004Q3-base,
pkgsrc-2004Q3,
pkgsrc-2004Q2-base,
pkgsrc-2004Q2,
pkgsrc-2004Q1-base,
pkgsrc-2004Q1
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
Update from 0.5.0 to 0.6.2. From Jorge Ramon Acereda Macia <al004046 at anubis dot uji dot es> in PR 23635. User-visible changes between 0.6.1 and 0.6.2: Bug fixes (in particular, gforth-0.6.2 compiles with gcc-3.3) New words: LATEST, LATESTXT (LASTXT deprecated) Operating environment: Added optional support for a C interface built on the ffcall libraries (more portable and powerful than the old one, but still not documented). To use it, the ffcall libraries have to be installed before building Gforth (see INSTALL). Miscellaneous: Gforth-fast now uses static superinstructions (some speedup on some platforms); generally this is transparent (apart from the speedup), but there are lots of command-line options for controlling the static superinstruction generation. User-visible changes between 0.6.0 and 0.6.1: Bug fixes (installation on big-endian machines sometimes did not work) User-visible changes between 0.5.0 and 0.6.0: Changes in behaviour: S": interpreted use now ALLOCATEs the string (they live until BYE). Long word names (512MB on 32-bit systems) are now supported (change to the header format). New threaded code execution method: primitive-centric (allows the following), hybrid direct/indirect threaded (easier portability), with dynamic superinstructions (typical speedup on Athlon: factor 2). New engine gforth-itc for dealing with some potential backwards-compatibility problems (see "Direct or Indirect Threaded?" in the manual). Operating environment: Default dictionary size is now 4MB. Large file support on OSs that support them (i.e., files with more than 2GB on 32-bit machines). Gforth can now deal well with broken pipes in most situations. vi tags files can be built with tags.fs (usage like etags.fs). gforth.el mostly rewritten. New image file format. New words: Keyboard input: EDIT-LINE K-PRIOR K-NEXT K-DELETE File input: SLURP-FILE SLURP-FID Programming tools: ID. .ID WORDLIST-WORDS SIMPLE-SEE Conditional execution: [DEFINED] [UNDEFINED] Defining Words: CONST-DOES> ]] Input stream: PARSE-WORD EXECUTE-PARSING EXECUTE-PARSING-FILE String comparison: STR= STR< STRING-PREFIX? String literals: S\" .\" \"-PARSE Floating point output: F.RDP F>STR-RDP F>BUF-RDP Miscellaneous: Generalized prims2x.fs into Vmgen (see README.vmgen etc.); used the new capabilities in prims (e.g., automatic handling of the return stack and instruction stream).
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 19 15:00:50 2001 UTC (11 years, 1 month ago) by agc
Branch: MAIN
CVS Tags: pkgviews-base,
pkgviews,
pkgsrc-2003Q4-base,
pkgsrc-2003Q4,
netbsd-1-6-RELEASE-base,
netbsd-1-6-1-base,
netbsd-1-6-1,
netbsd-1-6,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH001,
buildlink2-base,
buildlink2
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored)
Move to sha1 digests, and add distfile sizes.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 17 11:31:06 2001 UTC (11 years, 1 month ago) by agc
Branch: MAIN
+ move the distfile digest/checksum value from files/md5 to distinfo + move the patch digest/checksum values from files/patch-sum to distinfo