| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Notes:
svn path=/stable/4/; revision=70429
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
"builtins" and fix vocabulary juggling)
MFC: rev 1.7
* Remove the setting of sourceid from bf_vm(), as bf_vm() really has
no clue.
* set sourceid to 0 when booting, which is the correct setting for stdin.
* set sourceid to an arbitrary fd when include'ing, preserving and
restoring the previous sourceid.
Notes:
svn path=/stable/4/; revision=62718
|
| |
|
|
| |
Notes:
svn path=/head/; revision=51786
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
| |
Notes:
svn path=/head/; revision=44571
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change include() so it will be able to load files with forth code,
instead of just builtins. Remove #@- from the include section of the
help file, since they don't work in the new version of include, unless
BOOT_FORTH is not defined.
Change bf_run() so it will return the result returned by ficlExec(). Also,
make bf_run() push "interpret" to be executed by ficlExec(), since ficlExec()
doesn't do it by itself. (Things worked previously because nothing
recursed through ficlExec() by the way of bf_run()).
Change/extend comments on builtin behavior.
Search for "interpret" at the end of bf_init(), so /boot/boot.4th can
provide it's own version.
Remove dead code.
Notes:
svn path=/head/; revision=43614
|
| |
|
|
|
|
|
|
| |
Submitted by: Daniel C. Sobral
PR: 9663
Notes:
svn path=/head/; revision=43321
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
help.common
interp.c
Rename the 'source' command to 'include' in order to avoid conflict
with the ANS Forth command of the same name. (kern/9473)
interp_forth.c:
Changes from kern/9412 (EXCEPTION word), kern/9442 (TIB buffer
sizing) and an improved version of kern/9460 (set
version numbers).
load_aout.c:
Trim some obsolete #if 0'ed cruft.
pnp.c:
Tidy the pnpscan output, turn off the module scanning until we
sort out how to do it right.
PR: kern/9412 kern/9442 kern/9460 kern/9473
Submitted by: PRs from Daniel Sobral <dcs@newsguy.com>
Notes:
svn path=/head/; revision=43077
|
| |
|
|
|
|
|
| |
#include <string.h> for string prototypes.
Notes:
svn path=/head/; revision=42290
|
| |
|
|
|
|
|
|
|
|
| |
a built-in command on Forth stack.
* Fix a bug which was causing a panic when loading stripped aout kernels.
Reviewed by: jkh
Notes:
svn path=/head/; revision=42000
|
| |
|
|
|
|
|
|
| |
fopen and fclose. Also look for /boot/boot.4th now and, if found,
load its contents.
Notes:
svn path=/head/; revision=40988
|
| |
|
|
| |
Notes:
svn path=/head/; revision=40984
|
| |
|
|
| |
Notes:
svn path=/head/; revision=40950
|
| |
|
|
|
|
|
| |
days?), get the input buffer ourselves. Add some debugging code.
Notes:
svn path=/head/; revision=40948
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Add fexists word to check for the presence of a file
o make fexists and fload immediate words which DTRT both interpreted
and compiled (doh!)
o add an init word which gets run at bootstrapping time to do extra
post-coldload initialization (in the default implementation, we
look for /boot/boot.4th and load it if found).
Notes:
svn path=/head/; revision=40929
|
| |
|
|
| |
Notes:
svn path=/head/; revision=40882
|
|
|
to the Forth interpreter. Instantiate all of our inbuilt commands
as Forth words, and handle them being called from there.
Add my copyright to the bcache module (oops).
Notes:
svn path=/head/; revision=40875
|