jonesforth.git
17 years agoWrote code to do performance comparisons.
rich [Thu, 11 Oct 2007 07:45:35 +0000 (07:45 +0000)]
Wrote code to do performance comparisons.

17 years agoTest assembler & INLINE
rich [Thu, 11 Oct 2007 07:41:51 +0000 (07:41 +0000)]
Test assembler & INLINE

17 years agoBasic stack tests
rich [Thu, 11 Oct 2007 07:40:21 +0000 (07:40 +0000)]
Basic stack tests

17 years agoINLINE assembly
rich [Thu, 11 Oct 2007 07:39:51 +0000 (07:39 +0000)]
INLINE assembly

17 years agoImplement 2DROP, 2DUP, 2SWAP as asm primitives.
rich [Thu, 11 Oct 2007 07:38:31 +0000 (07:38 +0000)]
Implement 2DROP, 2DUP, 2SWAP as asm primitives.

17 years agoAssembly code.
rich [Wed, 10 Oct 2007 13:01:05 +0000 (13:01 +0000)]
Assembly code.

Performance code (start of).

More documentation fixes / clarifications.

17 years agoRestructure Makefile to add automated tests.
rich [Sun, 7 Oct 2007 11:07:15 +0000 (11:07 +0000)]
Restructure Makefile to add automated tests.

Remove build-id section.

Set up the data segment.

COLD -> QUIT.

Much rearrangement of the sections to improve
overall memory usage.

Don't align code.

Simplify DUP.

Simplify ?DUP.

Comparison operations use set<cond> instead of jumps.

Added C@C! and CMOVE.

Removed _X, _Y, _Z.

Make return_stack into a separate symbol for bottom
of the stack, so it appears in disassembly.  New
symbol return_stack_top is R0.

Added SYS_BRK.

Simplify RDROP.

WORD's and EMIT's buffers are now named.

SNUMBER -> NUMBER, now far more powerful (can handle
any number base and negative numbers correctly, and
comes with a test suite).

CREATE now no longer does an implicit WORD, but gets
the name from the string at top of stack, allowing
it to create anonymous words (see :NONAME).

Added HIDE word.

Removed INTERPRETER, added INTERPRET.

Added PARSE ERROR with context in the INTERPRET function.

Added SYSCALL0, 1, 2, 3.

Added explicit initialisation of the data segment.

Added UNLESS.

Added C,

WORDS now completely omits HIDDEN words.

Generalise CFA> to work with any code/data pointer.

Added execution tokens, EXECUTE, :NONAME, ['].

Added exceptions, CATCH, THROW, ABORT.

Added PRINT-STACK-TRACE.

Added CSTRING.

Removed STRNCMP.

Added standard file and syscall words.

Added UNUSED, MORECORE.

Allow welcome message to be disabled (particularly
during automated tests).

Multiple documentation improvements.

17 years agoFix CLOSE
rich [Sun, 30 Sep 2007 14:37:00 +0000 (14:37 +0000)]
Fix CLOSE

17 years ago'SPACE' -> BL (standard FORTH word)
rich [Sat, 29 Sep 2007 23:13:45 +0000 (23:13 +0000)]
'SPACE' -> BL (standard FORTH word)
Lots of replacements to use ?DUP.
Removed DOES> (not possible in this FORTH).
Added Z" .." for ASCIIZ strings.
Added a number of Linux syscalls.
Added a notes section.

17 years agoAdded O_* constants for open(2) syscall
rich [Sat, 29 Sep 2007 23:11:27 +0000 (23:11 +0000)]
Added O_* constants for open(2) syscall

17 years agoLinux system calls added and SYSEXIT removed.
rich [Sat, 29 Sep 2007 22:12:07 +0000 (22:12 +0000)]
Linux system calls added and SYSEXIT removed.

17 years agoAdded headings, fixed CELLS, DOES>, C strings, environment
rich [Sat, 29 Sep 2007 16:06:27 +0000 (16:06 +0000)]
Added headings, fixed CELLS, DOES>, C strings, environment

17 years agoUpdate version
rich [Sat, 29 Sep 2007 16:05:10 +0000 (16:05 +0000)]
Update version

17 years agoAdd some dummy args for testing
rich [Sat, 29 Sep 2007 16:04:20 +0000 (16:04 +0000)]
Add some dummy args for testing

17 years agoWhitespace changes to make the comments more obvious
rich [Fri, 28 Sep 2007 20:22:41 +0000 (20:22 +0000)]
Whitespace changes to make the comments more obvious

17 years agoFix last EXIT in SEE
rich [Fri, 28 Sep 2007 19:39:21 +0000 (19:39 +0000)]
Fix last EXIT in SEE

17 years agoAdded ?DUP
rich [Fri, 28 Sep 2007 18:55:10 +0000 (18:55 +0000)]
Added ?DUP
EMITSTRING -> TELL
CASE...ENDCASE implemented
SEE now working

17 years agoPartially working version of SEE
rich [Thu, 27 Sep 2007 23:09:39 +0000 (23:09 +0000)]
Partially working version of SEE

17 years agoVersion 35 for release.
rich [Wed, 26 Sep 2007 22:55:50 +0000 (22:55 +0000)]
Version 35 for release.

17 years agoJust comment updates
rich [Wed, 26 Sep 2007 22:50:19 +0000 (22:50 +0000)]
Just comment updates

17 years agoJust comment updates
rich [Wed, 26 Sep 2007 22:47:49 +0000 (22:47 +0000)]
Just comment updates

17 years agoVersion 32.
rich [Wed, 26 Sep 2007 22:20:52 +0000 (22:20 +0000)]
Version 32.
The dot function now works.

17 years agoRename @b -> C@ etc.
rich [Tue, 25 Sep 2007 21:48:20 +0000 (21:48 +0000)]
Rename @b -> C@ etc.
Remove . from assembler and reimplement in FORTH, although this
version lacks full support for widths yet.
/MOD -> / and MOD

17 years ago/MOD as primitive to replace / and MOD
rich [Tue, 25 Sep 2007 21:46:20 +0000 (21:46 +0000)]
/MOD as primitive to replace / and MOD
Removed ., now in FORTH.

17 years agoAdd 'make remote' rule for building on oirase.
rich [Tue, 25 Sep 2007 21:45:26 +0000 (21:45 +0000)]
Add 'make remote' rule for building on oirase.

17 years agoComment changes.
rich [Tue, 25 Sep 2007 09:50:54 +0000 (09:50 +0000)]
Comment changes.

17 years agoThis gets S" and ." right.
rich [Mon, 24 Sep 2007 00:37:01 +0000 (00:37 +0000)]
This gets S" and ." right.

17 years agoSplit into two files.
rich [Mon, 24 Sep 2007 00:18:19 +0000 (00:18 +0000)]
Split into two files.

17 years agoMinor text change
rich [Mon, 24 Sep 2007 00:01:38 +0000 (00:01 +0000)]
Minor text change

17 years agoStrangeness in Squote definition.
rich [Sun, 23 Sep 2007 23:17:56 +0000 (23:17 +0000)]
Strangeness in Squote definition.

17 years agoNew DOT function, BASE, DECIMAL, HEX, WITHIN, TO+, DUMP, TRUE, FALSE.
rich [Sun, 23 Sep 2007 22:10:04 +0000 (22:10 +0000)]
New DOT function, BASE, DECIMAL, HEX, WITHIN, TO+, DUMP, TRUE, FALSE.

17 years agoID. and WORDS
rich [Sun, 23 Sep 2007 20:06:00 +0000 (20:06 +0000)]
ID. and WORDS

17 years agoID. and WORDS
rich [Sun, 23 Sep 2007 20:00:58 +0000 (20:00 +0000)]
ID. and WORDS

17 years agoVersion 22 -- still debugging ID. word
rich [Sun, 23 Sep 2007 19:40:40 +0000 (19:40 +0000)]
Version 22 -- still debugging ID. word

17 years agoAdded link to another tutorial, and tiny change in ascii art.
rich [Sun, 23 Sep 2007 11:00:30 +0000 (11:00 +0000)]
Added link to another tutorial, and tiny change in ascii art.

17 years agoLots of typos fixed.
rich [Sat, 15 Sep 2007 11:21:09 +0000 (11:21 +0000)]
Lots of typos fixed.

Link to LtU discussion.

Removed the old versions (they're in CVS).

17 years agoSome doc updates.
rich [Sat, 8 Sep 2007 22:51:28 +0000 (22:51 +0000)]
Some doc updates.

17 years agoAdded JONESFORTH VERSION ... when starting up.
rich [Sat, 8 Sep 2007 22:23:16 +0000 (22:23 +0000)]
Added JONESFORTH VERSION ... when starting up.

17 years agoLots of documentation fixes, and minor tweaks.
rich [Sat, 8 Sep 2007 22:10:43 +0000 (22:10 +0000)]
Lots of documentation fixes, and minor tweaks.

17 years agoFixed a few typos.
rich [Sat, 8 Sep 2007 17:02:11 +0000 (17:02 +0000)]
Fixed a few typos.

17 years agoPD release.
rich [Sat, 8 Sep 2007 16:13:20 +0000 (16:13 +0000)]
PD release.

17 years agoFinished documentation
rich [Sat, 8 Sep 2007 16:03:33 +0000 (16:03 +0000)]
Finished documentation

17 years agoMore documentation.
rich [Sat, 8 Sep 2007 15:47:41 +0000 (15:47 +0000)]
More documentation.

17 years agoMore documentation.
rich [Sat, 8 Sep 2007 15:33:05 +0000 (15:33 +0000)]
More documentation.

17 years agoInput and output, dictionaries, compiling.
rich [Sat, 8 Sep 2007 15:05:30 +0000 (15:05 +0000)]
Input and output, dictionaries, compiling.

17 years agoMore docs
rich [Sat, 8 Sep 2007 13:58:02 +0000 (13:58 +0000)]
More docs

17 years agoDocument macros.
rich [Sat, 8 Sep 2007 13:21:48 +0000 (13:21 +0000)]
Document macros.

17 years agoReturn stack, DOCOL
rich [Sat, 8 Sep 2007 12:46:16 +0000 (12:46 +0000)]
Return stack, DOCOL

17 years agoIndirect threaded code
rich [Sat, 8 Sep 2007 12:15:02 +0000 (12:15 +0000)]
Indirect threaded code

17 years agoThe header.
rich [Sat, 8 Sep 2007 11:09:20 +0000 (11:09 +0000)]
The header.

17 years agoStarted writing.
rich [Sat, 8 Sep 2007 10:01:00 +0000 (10:01 +0000)]
Started writing.

17 years agoFix the flags to ADDSTORE, SUBSTORE and fix dot-quote so it works again with new...
rich [Fri, 7 Sep 2007 23:40:52 +0000 (23:40 +0000)]
Fix the flags to ADDSTORE, SUBSTORE and fix dot-quote so it works again with new defn of ADDSTORE.

17 years agosomeTIMES
rich [Fri, 7 Sep 2007 23:35:15 +0000 (23:35 +0000)]
someTIMES

17 years agoALLOT, +!, -!
rich [Fri, 7 Sep 2007 23:28:50 +0000 (23:28 +0000)]
ALLOT, +!, -!

17 years agoAdded FORTH interpreter and older versions.
rich [Thu, 6 Sep 2007 21:02:31 +0000 (21:02 +0000)]
Added FORTH interpreter and older versions.