Comments (5)
A testcase has been appended. It is strange that catch
cannot catch this exception.
from gforth.
-
Why do you execute an anonymous definition rather than use plain interpreted code?
-
Use
[']
in compile state to tickrefill
. -
The link from "appended" doesn't go to a test case.
from gforth.
-
Plain interpreted code cannot be used since after
refill
the whole input buffer is replaced. Socr . .
will not be executed. -
Thanks for the point. It is my typo. Certainly, I used
[']
in compiling. I have fixed this typo in the message above. -
I use the link to the updated message in the new message for the situation when the new message is read in email client and it is not obvious where something was changed or appended. Nevertheless, I have placed the precise anchor now.
from gforth.
Well, regarding the Backtrace — I overlooked that it prints the result of catch and shows a back trace for the next Stack underflow error, the partial screen content:
[: ['] refill catch cr . . ;] execute
-56 -4
*the terminal*:8:32: error: Stack underflow
[: ['] refill catch cr . . ;] >>>execute<<<
Backtrace:
So my conclusion that catch
does not catch this exception was wrong.
The updated testcase:
[: 0 ['] refill catch cr . . ;] execute
from gforth.
Thanks.
from gforth.
Related Issues (20)
- Strange "invalid memory address" error with [else] HOT 4
- Undefined word in widgets-test.fs while including on Android 7
- LOCATE depends on the current directory HOT 1
- build error: chcon can't apply partial context HOT 1
- Recognizer for string literals — an odd side effect
- chcon: failed to get security context of 'libgforth-ditc': Operation not supported HOT 2
- Issue with calling C functions: "called function of unfinished named C library" HOT 2
- `make install` fails because of missing `reserve_code_super` and `append_jump` HOT 1
- Invalid memory address when running executable with unix/socket.fs loaded HOT 1
- Inappropriate error message in um/mod HOT 3
- [Feature request] Make possible long tap options
- Files with two dots do not work under Windows! HOT 4
- Getting up|dn|left|right arrow keys
- random.fs not compiling as expected. HOT 1
- gforth manual cannot be automatically queried HOT 2
- banner discussion HOT 9
- configure = OK but not make
- recent build failures
- Problem building both git and tarball version on MacOS Sonoma
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gforth.