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

Forward referencing in MUF (SF Issue) #640

Open
tanabi opened this issue Jul 7, 2021 · 1 comment
Open

Forward referencing in MUF (SF Issue) #640

tanabi opened this issue Jul 7, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@tanabi
Copy link
Collaborator

tanabi commented Jul 7, 2021

Forward referencing for function names in MUF would be
useful... (To avoid having to stuff the address of
functions into variables to call them out of order)

Also making the entry point of a program the function
named 'main' would allow for organising code in a
cleaner way... (To avoid breaking old code this could be
done via a new preprocessor directive "$entrypoint
<function>", if the directive is missing, the last function
in the program is assumed...)

...

man $entrypoint
$ENTRYPOINT

Sets the function used to start the program. Defaults to the last one.

@tanabi tanabi added the enhancement New feature or request label Jul 7, 2021
@tanabi tanabi added this to the 7.7 milestone Jul 7, 2021
@aidanPB
Copy link
Contributor

aidanPB commented Feb 10, 2022

We could borrow DEFER and related words from the Forth-2012 Core Extensions word set.

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

No branches or pull requests

2 participants