-
Notifications
You must be signed in to change notification settings - Fork 28
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
factor out aborts
#579
#581
Conversation
Apparently the issue reference doesn't totally work if it's in the title so just for completeness sake: See #579. |
Nice, thanks for contributing! I will look at it in detail later, and see
how it fits in with other stuff.
lör 14 dec. 2024 kl. 09:44 skrev ekipan ***@***.***>:
… Apparently the issue reference doesn't totally work if it's in the title
so just for completeness sake:
See #579 <#579>.
—
Reply to this email directly, view it on GitHub
<#581 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY34OYZ4NUYSOWBKUUBXJL2FPVWHAVCNFSM6AAAAABTTKT7HSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTGAYDMNBYGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
OK, this seems like an improvement. I am pondering various things now.
|
That means every runtime-untaken : (lits) 1+ count 2dup + 1- ;
: lits r> (lits) >r ;
: (s") '"' parse dup c,
here swap dup allot move ;
: s" postpone lits (s") ; immediate
\ ...
: (abort") r> (lits) >r rot
if rvs type cr abort then 2drop ;
: abort" postpone (abort") (s") ;
immediate |
Uhh, that seems like a bad idea of mine. It is better to use |
How about merging the PR as is? But I would like one change, rename |
This of course does add more a bit more work in the case |
Or I guess only 6 cycles, since |
Looks good to me!
Maybe at some point this will throw an exception instead.
sön 15 dec. 2024 kl. 16:04 skrev ekipan ***@***.***>:
… Or I guess only 6 cycles, since abort doesn't rts :P
—
Reply to this email directly, view it on GitHub
<#581 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY34O2UVFTOOLXIO2F3IWT2FWK6PAVCNFSM6AAAAABTTKT7HSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTHEYDMMZWG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks for build fix.