From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,be87f575855405c9,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 2002-02-08 21:05:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: Albert van der Horst Newsgroups: comp.os.linux.announce Subject: lina : an ISO Forth for Linux Date: Fri, 8 Feb 2002 23:03:49 CST Organization: Altopia Corp. - Usenet Access - http://www.altopia.com Message-ID: <200202090016.BAA29423@spenarnc.xs4all.nl> Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAPGSttSFvAtx2nXvNAQHmEQH/fUitBxCtGky0BsBea5rIIlRFi/XSXW0b e7rjOGA1Jw0Qu3FiZyjZfnQfiOqbcnmDy9bK+m+fJfmx4xa6tPXd/g== =o7ha Xref: archiver1.google.com comp.os.linux.announce:1781 Dear Sir, Please publish this in the comp.os.linux.announce newsgroup. Yours truely, Albert van der Horst. Subject line: "lina 4.0 released: an ISO Forth for Linux" Sender: "albert@spenarnc.xs4all.nl (Albert van der Horst) With version 4.0 lina, the Linux native (c-less) configuration of ciforth for Intel Linux has evolved from a 32bit version of the classical fig Forth into a well balanced, versatile and practical tool. Its use stretches from a one liner in a shell script to do a hex calculation, with a system load comparable to a ``test'' call, to a substrate for building a general purpose simulation system. It can be used as calculator, a script language, a compiler and as a filter. A program debugged under Linux can be installed as an embedded system. It can be down loaded via http://home.hccnet.nl/a.w.m.van.der.horst/ciforth.html. There are just two files involved 1. the executable (26K) 2. a source library containing library functions, examples and messages. The documentation consists of a man page, texinfo (with output formats info, ps, html and pdf), a reference-only html, the assembler source and README's. Compatible systems are available for MSDOS (mina), Windows (wina) and stand alone (no name: the machine just boots into ciforth.). But note: ciforth means common Intel Forth. Portability is aimed along the Intel dimension, not along the Linux dimension. All ciforth's are generated by a sophisticated generic system from a single source. It guarantees that the assembler source and the documentation are in line and manages a regression test for all ciforth definitions. This system is available for down load too, and can be used to generate a lina with a different characteristic: pedantically following ISO, a different threading scheme or whatever. Some tools, such as the Posit-Fixup 80386 assembler are part of the generic distribution. Bug reports are accepted against the stable versions (lina/wina/mina 4.x.y where x is even), not against the generic system. Bug report against unstable version will be accepted, but treated informally. Comment is always welcome. An except of the man page follows. ------------------------------------------------------------- DESCRIPTION Forth is a tried and proven language for evolutionary ("check as you go") programming, ideal for rapid prototyping and embedded systems. lina is the Linux version of ciforth(common Intel Forth), an interpreter environment, scripter and compiler for Forth. It is (large and by) compliant with the ISO Forth standard; the CORE wordset is fully implemented. The small, classic, indirect threaded kernel contains the essential, i.a. file access and exceptions. Its power is multiplied by an extensive source library, that add i.a. a decompiler and integrated 386 assembler. It is simple, fully self contained and intended to be customized by you; if you want to understand a compiler in all details, this is your best, if not only, choice. ciforth sports the highest documentation to binary proportion in the EDP industry, barring m4 on Coherent This is largely due to an extremely small binary. OPTIONS lina without options starts an interactive system. If used as a filter, lina doesn't reflect its input and exits at end of input. Options are implemented by a simple mechanism through the source library, and hence are configurable. lina -C file.frt Compile "file.frt" to the binary "file". lina -E Load the "electives", i.e. tools for interactive development. Then start the interpreter. lina -F words Execute the forthcode "words". Then start the interpreter. lina -I binary-path library-path Install the current compiler into "binary-path" and the current library into "library-path". This must be fully qualified names, not directories. Configure appropriately. lina -L library-path [arguments] Close the default library, and open the library at "library-path". Shift the arguments such as to make the -L option invisible. Process any other options, then start the interpreter. -S script-path [arguments] (Intended to be used in a script with "#!lina -s" as the first line.) Shift the arguments such as to make the -S option invisible. Interpret the file script-path , ignoring its first line. ENVIRONMENT Configuration is done fully internal. FILES "forth.lab" contains a Forth source library. This is configurable at install time. SEE ALSO "lina.info" documents all language features implemented and has a tutorial. Further documentation is beneficial but not mandatory. "lina.html" contains only the reference documentation, heavily cross referenced. DIAGNOSTICS Positive error numbers are ciforth-specific and explained in the documentation. Negative error numbers are OS-specific. A mnemonic message is fetched from the library file and displayed, if possible. DEFECTS Mistakes can easily crash lina. lina is case sensitive, so ISO words must be entered in upper case. The library should contain a full complement of the ISO Forth language. AUTHOR Copyright (c) 2000-2002 Albert van der Horst, The Netherlands. albert@spenarnc.xs4all.nl. ciforth is made available under the GNU Public License: quality, but NO warranty. ------------------------------------------------------------- Albert van der Horst,Oranjestr 8,3511 RA UTRECHT,THE NETHERLANDS To suffer is the prerogative of the strong. The weak -- perish. albert@spenarnc.xs4all.nl http://home.hccnet.nl/a.w.m.van.der.horst ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################