BIF-C is a near fig-FORTH implemented in C.

The first release version is mostly a direct transliteration of BIF-6809, 
a near fig-FORTH I wrote for school many years ago. 

This collection of files (step 05b) is from a backup taken of a branch 
abandoned before the first release. 

It was taken at a point where the (semi-) automated conversions of the 
initial symbol table and more than half of the coding of the definitions 
themselves were complete. The inner interpreter (XNEXT) was moved back 
to bifdp_a.c, and QUIT and ABORT were fixed, by using longjmp().

This branch was taken to examine the utility (or futility, as the case 
may be) of passing the instruction pointer (IP) and current executing 
definition pointer as parameters, and storing them locally in the colon 
definition primitive (XCOL) and the DOES primitive, thus moving the 
control stack (the primary function of RP) to the native C (CPU) call 
stack. 

I couldn't figure out a way to handle branching, among other things, 
IP as a local variable in primitives, without resorting to global 
register variables, which would kind of undo the benefits of trying to 
integrate the C and FORTH run-time environments.

So I rolled it back, and step 05a contains the primary branch.

This branch is not functional. 

It is only provided for historical value.

See LICENSE.TXT for terms of use.

Reiisi Kenkyuu is, at the point of this writing, a business operating 
name of Joel Matthew Rees, originally of Odessa, Texas, currently of 
Amagasaki, Hyougo, Japan. Someday I plan to incorporate under the name. 

