I know that you should be all thinking on something infinitely more
highlevel-ish that what I am going to show, but I can't resist showing
this!... If one is mostly interested in starting with the mininum and
building a prototype around it, then maybe this could help:
From the description in the C file:
This file implements four very low-level functions.
They work like this:
str = peek_(addr, len)
addr = malloc_(len)
where "addr" and "len" are integers, and "str" is a string.
The functions are placed in the global namespace.
There is no range checking at all, just like in the old Forth days.
Have fun! 8-)