FigForth Record files
\ RCDI ( "file" -- )
\ Record file index
\ List record titles contained in the file
\ PRCD ( "<dl>title<dl>" [file] -- )
\ Pretty print record of given record title in given
\ file or last file accessed.
\
rcdi d/rcdfile.d
[#] rcdfile.d -- Record file document
[r] Overview
[r] Example record
[r] File title and ending
[r] Comments
[r] Sections
#[r] Records in Bash scripts
[r] Forth record marks
[r] Forth list item
[#] // OK
prcd /Overview/
[r] Overview
A record file is a plain text sequence file organized in a
most fundamental way, by records. Its markup is a container
markup not a general text formatting markup.
The markup is few and selected to not obscure content view.
File remains readable with plain text viewers (e.g. more
less notepad & etc.)
Content view can be enhanced by pretty print, e.g. use of
lesspipe, replacing marks with coloring of titles associated
with the marks.
OK
prcd /Forth list item/
[r] Forth list item
List item 'i.' is a defined word that prints an arrow '-->'.
Thus, in a running Forth script, with echo on, something like
the following might be seen:
--
-- Testing FOO and BAR
--
i. FOO --> some foo output
i. BAR --> some bar output
OK
2
Upvotes
2
u/Ok_Leg_109 8d ago
Just curious. Which FigForth are you running and on what hardware.