| 84716 packages online |
|
|
| | | | No screenshot available |
|
README for pForth - a Portable ANS-like Forth written in ANSI 'C'
by Phil Burk
with Larry Polansky, David Rosenboom and Darren Gibbs.
Support for 64-bit cells by Aleksej Saushev.
Last updated: April 24, 2018 V28
Code for pForth is maintained on GitHub at:
https://github.com/philburk/pforth
Documentation for pForth at:
http://www.softsynth.com/pforth/
For technical support please use the pForth forum at:
http://groups.google.com/group/pforthdev
-- LEGAL NOTICE -----------------------------------------
Permission to use, copy, modify, and/or distribute this
software for any purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-- Contents of SDK --------------------------------------
platforms - tools for building pForth on various platforms
platforms/unix - Makefile for unix
csrc - pForth kernel in ANSI 'C'
csrc/pf_main.c - main() application for a standalone Forth
csrc/stdio - I/O code using basic stdio for generic platforms
csrc/posix - I/O code for Posix platform
csrc/win32 - I/O code for basic WIN32 platform
csrc/win32_console - I/O code for WIN32 console that supports command line
history
fth - Forth code
fth/util - utility functions
-- How to build pForth ------------------------------------
See pForth reference manual at:
http://www.softsynth.com/pforth/pf_ref.php
-- How to run pForth ------------------------------------
Once you have compiled and built the dictionary, just enter:
pforth
To compile source code files use: INCLUDE filename
To create a custom dictionary enter in pForth:
c" newfilename.dic" SAVE-FORTH
The name must end in ".dic".
To run PForth with the new dictionary enter in the shell:
pforth -dnewfilename.dic
To run PForth and automatically include a forth file:
pforth myprogram.fth
-- How to Test PForth ------------------------------------
You can test the Forth without loading a dictionary
which might be necessary if the dictionary can't be built.
Enter: pforth -i
In pForth, enter: 3 4 + .
In pForth, enter: loadsys
In pForth, enter: 10 0 do i . loop
PForth comes with a small test suite. To test the Core words,
you can use the coretest developed by John Hayes.
Enter: pforth
Enter: include tester.fth
Enter: include coretest.fth
To run the other tests, enter:
pforth t_corex.fth
pforth t_strings.fth
pforth t_locals.fth
pforth t_alloc.fth
They will report the number of tests that pass or fail.
|
Contents of dev/lang/pforth.zipArchive: /home/aminet/aminet_root/doc//dev/lang/pforth.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
0 Stored 0 0% 2022-11-04 16:04 00000000 pforth/
12372 Defl:N 5339 57% 2022-10-25 21:06 55eb1aeb pforth/releases.txt
2962 Defl:N 1401 53% 2022-10-25 21:06 d24e4008 pforth/readme.txt
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/win32/
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/win32/vs2017/
4048 Defl:N 516 87% 2022-10-25 21:06 712a2b3c pforth/platforms/win32/vs2017/pforth_main.vcxproj.filters
9614 Defl:N 1445 85% 2022-10-25 21:06 08be8b30 pforth/platforms/win32/vs2017/pforth_main.vcxproj
1451 Defl:N 475 67% 2022-10-25 21:06 b846fbb1 pforth/platforms/win32/vs2017/pforth.sln
0 Stored 0 0% 2022-11-04 16:05 00000000 pforth/platforms/unix/
4370 Defl:N 1690 61% 2022-10-25 21:06 db2a1249 pforth/platforms/unix/Makefile
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/mingw-crossbuild-linux/
4599 Defl:N 1745 62% 2022-10-25 21:06 0e54d19b pforth/platforms/mingw-crossbuild-linux/Makefile
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/linux-crossbuild-atari/
4714 Defl:N 1869 60% 2022-10-25 21:06 7ccc80f7 pforth/platforms/linux-crossbuild-atari/Makefile
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/platforms/linux-crossbuild-amiga/
4766 Defl:N 1895 60% 2022-10-25 21:06 4437350a pforth/platforms/linux-crossbuild-amiga/Makefile
607 Defl:N 377 38% 2022-10-25 21:06 e11a0754 pforth/license.txt
0 Stored 0 0% 2022-11-04 16:19 00000000 pforth/fth/
1344 Defl:N 780 42% 2022-10-25 21:06 f6e14aa6 pforth/fth/wordslik.fth
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/fth/utils/
1050 Defl:N 527 50% 2022-10-25 21:06 f72f11a3 pforth/fth/utils/make_all256.fth
1043 Defl:N 460 56% 2022-10-25 21:06 be06a3a3 pforth/fth/utils/load_file.fth
2602 Defl:N 1251 52% 2022-10-25 21:06 f681d829 pforth/fth/utils/dump_struct.fth
12929 Defl:N 4055 69% 2022-10-25 21:06 e91e4dc8 pforth/fth/utils/clone.fth
1343 Defl:N 486 64% 2022-10-25 21:06 d17093fa pforth/fth/tut.fth
13067 Defl:N 3797 71% 2022-10-25 21:06 eaba3091 pforth/fth/trace.fth
1760 Defl:N 820 53% 2022-10-25 21:06 6d16ad66 pforth/fth/tester.fth
1666 Defl:N 781 53% 2022-10-25 21:06 3e9597dc pforth/fth/termio.fth
1890 Defl:N 864 54% 2022-10-25 21:06 0d9d2c66 pforth/fth/t_tools.fth
4803 Defl:N 1282 73% 2022-10-25 21:06 c3b446fa pforth/fth/t_strings.fth
31 Stored 31 0% 2022-10-25 21:06 d088668b pforth/fth/t_required_helper2.fth
31 Stored 31 0% 2022-10-25 21:06 d088668b pforth/fth/t_required_helper1.fth
120 Defl:N 92 23% 2022-10-25 21:06 d79eb9c2 pforth/fth/t_nolf.fth
1135 Defl:N 555 51% 2022-10-25 21:06 df4f1ae6 pforth/fth/t_locals.fth
95 Defl:N 93 2% 2022-10-25 21:06 8e4cce6b pforth/fth/t_load_undef.fth
84 Defl:N 81 4% 2022-10-25 21:06 e2b98406 pforth/fth/t_load_semi.fth
62 Stored 62 0% 2022-10-25 21:06 900d7475 pforth/fth/t_load_pairs.fth
107 Defl:N 100 7% 2022-10-25 21:06 62ba69b1 pforth/fth/t_load_defer.fth
137 Defl:N 100 27% 2022-10-25 21:06 0286e2a0 pforth/fth/t_load.fth
209 Defl:N 167 20% 2022-10-25 21:06 e24d4a9e pforth/fth/t_include.fth
3993 Defl:N 1117 72% 2022-10-25 21:06 446a2e58 pforth/fth/t_floats.fth
10846 Defl:N 3148 71% 2022-10-25 21:06 2911f0eb pforth/fth/t_file.fth
9142 Defl:N 2785 70% 2022-10-25 21:06 b859816e pforth/fth/t_corex.fth
323 Defl:N 148 54% 2022-10-25 21:06 0ccd8b54 pforth/fth/t_case.fth
2647 Defl:N 928 65% 2022-10-25 21:06 91085f12 pforth/fth/t_alloc.fth
20112 Defl:N 6905 66% 2022-10-25 21:06 39edb76a pforth/fth/system.fth
1950 Defl:N 777 60% 2022-10-25 21:06 325ac276 pforth/fth/strings.fth
2056 Defl:N 971 53% 2022-10-25 21:06 ee60116b pforth/fth/smart_if.fth
4782 Defl:N 1900 60% 2022-10-25 21:06 9978fb97 pforth/fth/slashqt.fth
731 Defl:N 413 44% 2022-10-25 21:06 ca82f7a5 pforth/fth/siev.fth
4227 Defl:N 1479 65% 2022-10-25 21:06 5514e3fe pforth/fth/see.fth
4038 Defl:N 1552 62% 2022-10-25 21:06 1d2b5d57 pforth/fth/savedicd.fth
2418 Defl:N 1130 53% 2022-10-25 21:06 d8f593c2 pforth/fth/save-input.fth
1309 Defl:N 752 43% 2022-10-25 21:06 99d29dae pforth/fth/require.fth
1286 Defl:N 547 58% 2022-10-25 21:06 5fc529f7 pforth/fth/private.fth
5830 Defl:N 2272 61% 2022-10-25 21:06 38159daa pforth/fth/numberio.fth
136 Defl:N 99 27% 2022-10-25 21:06 7fbc4ce7 pforth/fth/mkdicdat.fth
6404 Defl:N 2544 60% 2022-10-25 21:06 a7bf040a pforth/fth/misc2.fth
3870 Defl:N 1752 55% 2022-10-25 21:06 e822f4da pforth/fth/misc1.fth
5111 Defl:N 2357 54% 2022-10-25 21:06 2f400317 pforth/fth/member.fth
2308 Defl:N 875 62% 2022-10-25 21:06 46bfb280 pforth/fth/math.fth
2370 Defl:N 1175 50% 2022-10-25 21:06 2cdb798f pforth/fth/locals.fth
1705 Defl:N 878 49% 2022-10-25 21:06 53210669 pforth/fth/loadp4th.fth
221 Defl:N 162 27% 2022-10-25 21:06 4314b80a pforth/fth/loadhist.fth
11417 Defl:N 3731 67% 2022-10-25 21:06 40df6f90 pforth/fth/history.fth
2889 Defl:N 1332 54% 2022-10-25 21:06 6000c15f pforth/fth/forget.fth
12530 Defl:N 4126 67% 2022-10-25 21:06 a5a8eab7 pforth/fth/floats.fth
2902 Defl:N 1085 63% 2022-10-25 21:06 89f41e8b pforth/fth/filefind.fth
4848 Defl:N 2147 56% 2022-10-25 21:06 b087ba59 pforth/fth/file.fth
25851 Defl:N 6436 75% 2022-10-25 21:06 1e519c59 pforth/fth/coretest.fth
1413 Defl:N 487 66% 2022-10-25 21:06 d79c9d09 pforth/fth/condcomp.fth
2157 Defl:N 1069 50% 2022-10-25 21:06 83b67864 pforth/fth/case.fth
7153 Defl:N 2622 63% 2022-10-25 21:06 06192488 pforth/fth/c_struct.fth
4444 Defl:N 1511 66% 2022-10-25 21:06 dff44c20 pforth/fth/bench.fth
5288 Defl:N 1956 63% 2022-10-25 21:06 16a22f10 pforth/fth/ansilocs.fth
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/csrc/
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/csrc/win32_console/
6204 Defl:N 1885 70% 2022-10-25 21:06 30191d6a pforth/csrc/win32_console/pf_io_win32_console.c
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/csrc/win32/
1782 Defl:N 834 53% 2022-10-25 21:06 48e1e630 pforth/csrc/win32/pf_io_win32.c
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/csrc/stdio/
1537 Defl:N 756 51% 2022-10-25 21:06 6b5416e8 pforth/csrc/stdio/pf_io_stdio.c
3703 Defl:N 1514 59% 2022-10-25 21:06 b227c95c pforth/csrc/stdio/pf_fileio_stdio.c
348 Defl:N 151 57% 2022-10-25 21:06 bafa8a08 pforth/csrc/sources.cmake
0 Stored 0 0% 2022-10-25 21:06 00000000 pforth/csrc/posix/
4047 Defl:N 1739 57% 2022-10-25 21:06 6e1fd4e7 pforth/csrc/posix/pf_io_posix.c
3150 Defl:N 1389 56% 2022-10-25 21:06 01f91c48 pforth/csrc/pforth.h
10327 Defl:N 2582 75% 2022-10-25 21:06 9b600700 pforth/csrc/pfinnrfp.h
331861 Defl:N 40709 88% 2022-10-25 21:06 13b0164f pforth/csrc/pfdicdat_arm.h
4021 Defl:N 1570 61% 2022-10-25 21:06 e7acc7f4 pforth/csrc/pfcustom.c
2839 Defl:N 1111 61% 2022-10-25 21:06 bb22ac1e pforth/csrc/pfcompil.h
37190 Defl:N 8710 77% 2022-10-25 21:06 5984c7d5 pforth/csrc/pfcompil.c
3533 Defl:N 1025 71% 2022-10-25 21:06 2c6bf81a pforth/csrc/pfcompfp.h
1288 Defl:N 655 49% 2022-10-25 21:06 8c5f53d4 pforth/csrc/pf_words.h
5900 Defl:N 2091 65% 2022-10-25 21:06 fbd443f7 pforth/csrc/pf_words.c
1385 Defl:N 734 47% 2022-10-25 21:06 82783a84 pforth/csrc/pf_win32.h
1418 Defl:N 688 52% 2022-10-25 21:06 23ac3b91 pforth/csrc/pf_types.h
2957 Defl:N 1154 61% 2022-10-25 21:06 3c67997e pforth/csrc/pf_text.h
11209 Defl:N 3478 69% 2022-10-25 21:06 39c91dcd pforth/csrc/pf_text.c
3776 Defl:N 1443 62% 2022-10-25 21:06 b0ab6ea8 pforth/csrc/pf_save.h
24836 Defl:N 5519 78% 2022-10-25 21:06 914e057e pforth/csrc/pf_save.c
1562 Defl:N 787 50% 2022-10-25 21:06 c57f088a pforth/csrc/pf_mem.h
10355 Defl:N 2889 72% 2022-10-25 21:06 5252cee6 pforth/csrc/pf_mem.c
3724 Defl:N 1536 59% 2022-10-25 21:06 a55db000 pforth/csrc/pf_main.c
1387 Defl:N 677 51% 2022-10-25 21:06 8b0f9620 pforth/csrc/pf_io_none.c
5397 Defl:N 1884 65% 2022-10-25 21:06 d3d47afa pforth/csrc/pf_io.h
5597 Defl:N 1853 67% 2022-10-25 21:06 4948cdd6 pforth/csrc/pf_io.c
56820 Defl:N 12105 79% 2022-10-25 21:06 10289d94 pforth/csrc/pf_inner.c
1462 Defl:N 738 50% 2022-10-25 21:06 366f31a4 pforth/csrc/pf_inc1.h
1089 Defl:N 569 48% 2022-10-25 21:06 e60ada49 pforth/csrc/pf_host.h
17074 Defl:N 5194 70% 2022-10-25 21:06 8e2c8d1b pforth/csrc/pf_guts.h
1461 Defl:N 712 51% 2022-10-25 21:06 590e3e00 pforth/csrc/pf_float.h
1230 Defl:N 675 45% 2022-10-25 21:06 fc13c5a0 pforth/csrc/pf_core.h
17541 Defl:N 5077 71% 2022-10-25 21:06 ad56d5d0 pforth/csrc/pf_core.c
1893 Defl:N 916 52% 2022-10-25 21:06 faff5d06 pforth/csrc/pf_clib.h
2138 Defl:N 1044 51% 2022-10-25 21:06 51ccf7f9 pforth/csrc/pf_clib.c
1732 Defl:N 803 54% 2022-10-25 21:06 086639f3 pforth/csrc/pf_cglue.h
3072 Defl:N 1191 61% 2022-10-25 21:06 ed68828a pforth/csrc/pf_cglue.c
1832 Defl:N 862 53% 2022-10-25 21:06 0db973a8 pforth/csrc/pf_all.h
1181 Defl:N 536 55% 2022-10-25 21:06 b1f0f1d1 pforth/csrc/CMakeLists.txt
2718 Defl:N 1055 61% 2022-10-25 21:06 3ebcebd6 pforth/CMakeLists.txt
0 Stored 0 0% 2022-11-04 16:13 00000000 pforth/morphos-bin/
405636 Defl:N 52115 87% 2022-11-04 16:19 efb3cd21 pforth/morphos-bin/pfdicdat.h
109372 Defl:N 45917 58% 2022-11-04 16:13 11bc2a92 pforth/morphos-bin/pforth
62968 Defl:N 22355 65% 2022-11-04 16:19 47526b92 pforth/morphos-bin/pforth.dic
175576 Defl:N 69695 60% 2022-11-04 16:11 42b2fcff pforth/morphos-bin/pforth_standalone
-------- ------- --- -------
1629846 407257 75% 127 files
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |