Email or username:

Password:

Forgot your password?
Devine Lu Linvega

@wim_v12e I'd like to have you thoughts on this idea, if you have the time, it doesn't have to be right away. But for a little while now I've been thinking of adding something to uxntal, or maybe make it its own language, but basically uxntal with inline definitions. You could anonymous segments of code, and the assembler would write those in memory someplace, and just put their address as a LIT2 at the definition. Any thoughts on this? That's your department.

4 comments
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.

Devine 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).

Devine Lu Linvega

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

Go Up