[<<][staapl][>>][..]
Wed Jun 6 12:09:29 EDT 2012

do-arrow (vector.ss)

The vector abstraction I used was:

2variable token
: set-token token -> <implementation code> ;
: run-token token invoke ;


It seems to work just fine for now.  Uses 2 bytes RAM to store the
address (which is abstract) but uses only 1-byte tokens (index into
table of addresses), which is convenient for use.

For now this seems good enough.  Storing the addresses in Flash is
possible but requres more elaborate bookkeeping.

I used it to create words: stdin i> 
This solves 99% of all data transfer problems in an abstract way.




[Reply][About]
[<<][staapl][>>][..]