If you have a lot of strings to juggle, treat yourself
to a string stack. Forth is all about flexibility, right?
When parsing commands for my engineering tools, strings
are indispensable. But I use a ringbuffer, not a stack.
On Fri, 22 Nov 2024 11:35:01 +0000, mhx wrote:
When parsing commands for my engineering tools, strings
are indispensable. But I use a ringbuffer, not a stack.
A ring buffer for holding strings is a classic for Forth
systems. For larger string sequences, such as data in XML
format, ring buffers tend to be overwritten. But that's
an application-sprecific implementation detail, not a
topic for a standard.
On 22/11/2024 9:11 pm, minforth wrote:
Must be bad weather and boring where you live. ;-)
You're welcome :)
If you have a lot of strings to juggle, treat yourself
to a string stack. Forth is all about flexibility, right?
A relative never cleaned their email inbox. For the last
month any message sent bounced with 'mailbox full'. Their
solution was to pay for a bigger inbox.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 502 |
Nodes: | 16 (2 / 14) |
Uptime: | 214:02:13 |
Calls: | 9,878 |
Calls today: | 6 |
Files: | 13,791 |
Messages: | 6,205,408 |