head 1.2; access; symbols pkgsrc-2023Q4:1.2.0.106 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.104 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.102 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.100 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.98 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.96 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.94 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.92 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.90 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.88 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.86 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.84 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.82 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.80 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.76 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.56 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.78 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.74 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.72 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.70 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.68 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.66 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.64 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.62 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.60 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.58 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.54 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.52 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.50 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.48 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.46 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.44 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.42 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.40 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.38 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.36 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.34 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.32 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.30 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.28 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.26 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.24 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.22 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.20 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.18 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.16 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.14 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.12 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.10 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.8 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.6 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.4 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.2 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.1.0.68 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.66 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.64 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.62 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.60 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.58 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.56 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.54 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.52 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.50 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.48 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.46 pkgsrc-2008Q1:1.1.0.44 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.42 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.40 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.38 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.36 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.34 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.32 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.30 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.28 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.26 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.24 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.22 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.20 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.18 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.16 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.14 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.2 date 2010.11.22.01.25.48; author asau; state Exp; branches; next 1.1; 1.1 date 2001.11.01.00.24.32; author zuntum; state Exp; branches; next ; desc @@ 1.2 log @Update to pForth version 27. Assume maintainership. Changes since version 21: V27 - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION. They used to use single precision offset. Now use double as specified. - Delete object directories in Makefile clean. - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error". http://code.google.com/p/pforth/issues/detail?id=4&can=1 - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +. - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2. - Fixed lots of warning and made code compatible with C89 and ANSI. Uses -pedantic. - Use fseek and ftell on WIN32 instead of fseeko and ftello. - Makefile is now more standard. Builds in same dir as Makefile. Uses CFLAGS etc. - Add support for console IO with _WATCOMC_ - Internal CStringToForth and ForthStringToC now take a destination size for safety. - Run units tests for CStringToForth and ForthStringToC if PF_UNIT_TESTS is defined. V26 5/20/2010 - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej! V25 5/19/2010 - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej! - Added "-x c" to Makefile CCOPTS to prevent confusion with C++ - Allow space after -d command line option. - Restore normal tty mode if pForth dictionary loading fails. V24 2/20/09 - Fixed Posix IO on Mac. ?TERMINAL was always returning true. - ACCCEPT now emits a space at end of line before output. - Fixed RESIZE because it was returning the wrong address. V23 8/4/2008 - Removed -v option from mkdir in build/unix/Makefile. It was not supported on FreeBSD. Thank you Alexsej Saushev for reporting this. V23 7/20/2008 - Reorganized for Google Code project. V22 (unreleased) - Added command line history and cursor control words. - Sped up UM* and M* by a factor of 3. Thanks to Steve Green for suggested algorithm. - Modified ACCEPT so that a line at the end of a file that does NOT have a line terminator will now be processed. - Use _getch(), _putch(), and _kbhit() so that KEY, EMIT and ?TERMINAL will work on PC. - Fixed : foo { -- } 55 ; - Was entering local frame but not exiting. Now prints error. - Redefined MAKE_ID to protect it from 16 bit ints - John Providenza says "If you split local variables onto 2 lines, PForth crashes." Fixed. Also allow \ - Fixed float evaluation in EVALUATE in "quit.fth". - Flush register cache for ffColon and ffSemiColon to prevent stack warnings from ; @ text @PForth is an ANSI style Forth designed to be portable across many platforms. The 'P' in pForth stands for "Portable". PForth is based on a Forth kernel written in ANSI standard 'C'. PForth has been designed with portability as the primary design goal. As a result, pForth avoids any fancy Unix calls. pForth also avoids using any clever and original ways of constructing the Forth dictionary. It just compiles its kernel from ANSI compatible 'C' code then loads ANS compatible Forth code to build the dictionary. Very boring but very likely to work on almost any platform. The pForth software code is distributed under MIT licence with parts dedicated to the public domain. @ 1.1 log @Move pkg/ files into package's toplevel directory @ text @d5 3 a7 3 PForth has been designed with portability as the primary design goal. As a result, pForth avoids any fancy UNIX calls. pForth also avoids using any clever and original ways of constructing the Forth d9 2 a10 2 then loads ANS compatible Forth code to build the dictionary. Very boring but very likely to work on almost any platform. d12 2 a13 7 The pForth software code is dedicated to the public domain, and any third party may reproduce, distribute and modify the pForth software code or any derivative works thereof without any compensation or license. The pForth software code is provided on an "as is" basis without any warranty of any kind, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose and their equivalents under the laws of any jurisdiction. @