Email or username:

Password:

Forgot your password?
Top-level
David JONES

@neauoire @wim_v12e i've always felt that these should be like strings. the anon def is compiled right into the word, with a skip-over put before it, and a literal after (or similar mechanism). The classic FORTH word DOES> does something a little bit like that.

3 comments
Devil Lu Linvega

@drj @wim_v12e If you're going to skip over, you might as well compile them no? is there an advantage to keep them as string?

David JONES

@neauoire @wim_v12e i meant compiled. like strings in that the string is not compiled somewhere else, but appears within the definition that uses it. IMO strings are compiled too, from a source representation to a binary representation (many of the bytes are the same).

Devil Lu Linvega

@drj @wim_v12e Oh, right yes. That's the easiest option. (which I've already made an implementation of)

Go Up