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

Parsing behavior change v4 -> v5? #584

Open
ekipan opened this issue Dec 17, 2024 · 6 comments
Open

Parsing behavior change v4 -> v5? #584

ekipan opened this issue Dec 17, 2024 · 6 comments

Comments

@ekipan
Copy link
Contributor

ekipan commented Dec 17, 2024

\ file "bug"
marker ----
: h: ( u-u) hex  dup 0 do  parse-name
  evaluate c, loop  decimal ;
create rels 8
h: 00 01 02 03  02 12 22 32  \ iiii
h: 00 01 02 03  02 12 22 32  \
h: 03 11 12 13  01 02 12 22 \    jjj
h: 01 02 03 11  02 12 22 23 \   .  j
drop
\ durexforth v4
include bug
ok
rels dump
39c1 00 01 02 03 02 12 22 32 ......"2
39c9 00 01 02 03 02 12 22 32 ......"2
39d1 03 11 12 13 01 02 12 22 ......."
39d9 01 02 03 11 02 12 22 23 ......"#
39e1 33 33 45 31 20 55 08 20 20e1 u.
( ... )
ok
( working as expected in v4 )
durexForth v5.0.0.0
include bug
jjj?
rels dump
3965 00 01 02 03 02 12 22 32 ......"2
396d 03 11 12 13 01 02 12 22 ......."
3975 20 12 40 39 20 76 19 20  .@9 V.
( ... )
ok
( parse-name behaving strangely? )

I thought maybe it was the lone end-of-line backslash but deleting it didn't fix the problem.

@ekipan
Copy link
Contributor Author

ekipan commented Dec 17, 2024

Gforth's result for reference.

@ekipan
Copy link
Contributor Author

ekipan commented Dec 17, 2024

When I loaded the code into v and pressed f7 it seemed to work correctly even in v5. If you cannot reproduce then perhaps this is once again a problem with the "Host file system" drive feature I'm using in VICE.

@ekipan
Copy link
Contributor Author

ekipan commented Dec 17, 2024

I loaded from "Host file system" using v bug, attached a new disk image, saved :w!bug, disabled hfs, power cycled, then include bug worked as expected. I don't understand why it works in v4 but not v5.

@jkotlinski
Copy link
Owner

jkotlinski commented Dec 17, 2024 via email

@jkotlinski
Copy link
Owner

jkotlinski commented Dec 18, 2024

It seemed to work for me with v5, but maybe I don't use same settings as you?

I find VICE settings mysterious and I do not trust all settings.

I use VICE 3.6.0 locally.

Do you know if there is a particular durexForth revision when this stopped working for you?

@jkotlinski
Copy link
Owner

To anyone it may concern, I would welcome help in solving problems like these. I feel it is a bit beyond me.

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

No branches or pull requests

2 participants