-
Notifications
You must be signed in to change notification settings - Fork 23
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
duplicate line in hello_world #17
Comments
or use : ['] lit ; |
It is incorrect, because This word : ['] lit lit , ; immediate NB: this word is not standard, the standard word |
you are correct. thanks
I did some changes in milliforth-6502
(https://github.com/agsb/milliforth-6502)
Em dom., 15 de set. de 2024 às 07:20, ruv ***@***.***>
escreveu:
… or use
: ['] lit ;
It is incorrect, because lit does return address manipulation (see also
my explanation
<https://stackoverflow.com/questions/78730068/how-to-insert-literals-in-a-colon-definition/78731184#78731184>
).
This word ['] can be defined via lit as follows:
: ['] lit lit , ; immediate
NB: this word is not standard, the standard word [']
<https://forth-standard.org/standard/core/BracketTick> shall do parsing.
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADR73T6US2SX4XFWRUNZ5CTZWVNO7AVCNFSM6AAAAABK5CRKKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGUYTOMBYHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Slings move continents, a rock at a time.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
: lit rp@ @ dup 2 + rp@ ! @ ;
: ['] rp@ @ dup 2 + rp@ ! @ ;
Both in hello_world.Forth.
Maybe a error ?
The text was updated successfully, but these errors were encountered: