[OpenBIOS] Obtaining data from input buffer
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Tue Mar 9 12:32:21 CET 2010
Programmingkid wrote:
> Hi, I am trying to create a word that will parse all the characters up to a '}' on the same line. Does anyone have any idea as to how I can make this word read the characters in the input buffer while the interpret word is running? I thought about changing the value of the state variable to go from compile to interpret mode, but I still don't know how to access the input buffer. Any help would be great.
You'll need to start following through the interpret word in
forth/bootstrap/interpreter.fs taking a good look at both the parse-word
and : words.
HTH,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the OpenBIOS
mailing list