I'm interested in any of your detailed thoughts on this, for slightly selfish reasons.
I hesitate to go off topic here, so let me know if I'm out of line.
I see three options, none quite satisfying:
Have the addressing unit be the word. CELL = 1. Store characters one per word and waste lots of ...
Search found 5 matches
- Thu Nov 30, 2017 7:03 pm
- Forum: Forth
- Topic: Forth on a Word Versus Byte Addressable Machine
- Replies: 14
- Views: 10601
- Thu Nov 30, 2017 9:57 am
- Forum: Forth
- Topic: How text input works with ANSI Forth (with Gforth tricks)
- Replies: 10
- Views: 23577
Re: How text input works with ANSI Forth (with Gforth tricks
How does REFILL know where to look? So where does REFILL put the stuff?
In my Forth, these kind of things are all done with a small table of vectors. (A class with virtual methods, if you will.) When the input source is changed, the table pointer is changed accordingly. The vectors include REFILL ...
In my Forth, these kind of things are all done with a small table of vectors. (A class with virtual methods, if you will.) When the input source is changed, the table pointer is changed accordingly. The vectors include REFILL ...
- Thu Nov 30, 2017 9:18 am
- Forum: Forth
- Topic: Meta Compiling Forth
- Replies: 6
- Views: 11192
Re: Meta Compiling Forth
I came up with much of my metacompiler design before I had much of an idea as to how other metacompilers worked
The metacompiler searches the target image dictionary directly, rather than having a separate host wordlist for target names.
I used the same design, for the same reason. The target ...
The metacompiler searches the target image dictionary directly, rather than having a separate host wordlist for target names.
I used the same design, for the same reason. The target ...
- Thu Nov 30, 2017 9:05 am
- Forum: Forth
- Topic: Forth on a Word Versus Byte Addressable Machine
- Replies: 14
- Views: 10601
Re: Forth on a Word Versus Byte Addressable Machine
Assuming that you could port Forth to something like a PDP-8, would CELL return 1?
I have, and yes, it does. I feel that wasting 4 bits per character in a string isn't too bad and that strict adherence to the standard isn't necessary. EDIT: Also, I'm ok with just addressing one field. (A "field ...
I have, and yes, it does. I feel that wasting 4 bits per character in a string isn't too bad and that strict adherence to the standard isn't necessary. EDIT: Also, I'm ok with just addressing one field. (A "field ...
- Thu Nov 30, 2017 7:47 am
- Forum: Forth
- Topic: What is Forth?
- Replies: 148
- Views: 187237
Re: What is Forth?
nyef wrote:
There's probably an opening here for a discussion of metacompilation approaches and techniques, but that should probably be a separate thread if anyone is interested.