Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEFER #11

Open
larsbrinkhoff opened this issue Sep 7, 2017 · 2 comments
Open

DEFER #11

larsbrinkhoff opened this issue Sep 7, 2017 · 2 comments
Labels

Comments

@larsbrinkhoff
Copy link
Owner

larsbrinkhoff commented Sep 7, 2017

Add DEFER, IS, ACTION-OF, DEFER@, and DEFER!.

A deferred word should probably compile to a single jump instruction.

IS should work at both compile time and run time.

@larsbrinkhoff
Copy link
Owner Author

On second thought, that wouldn't work on machines with read-only or inaccessible program memory.

@TG9541
Copy link

TG9541 commented Sep 11, 2017

The problem is similar to VARIABLE : another level of indirection is required. And, of course, initialization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants