The Lambda Lab
/
projects
/
forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Broken draft of vocab implementation.
[forth.jl.git]
/
src
/
lib_8_decompiler.4th
diff --git
a/src/lib_8_decompiler.4th
b/src/lib_8_decompiler.4th
index
d9c9f3a
..
5daa501
100644
(file)
--- a/
src/lib_8_decompiler.4th
+++ b/
src/lib_8_decompiler.4th
@@
-37,7
+37,7
@@
DROP ( at this point, the stack is: start-of-word end-of-word )
SWAP ( end-of-word start-of-word )
DROP ( at this point, the stack is: start-of-word end-of-word )
SWAP ( end-of-word start-of-word )
- DUP >CFA @ CASE
+ DUP
LFA
>CFA @ CASE
DOCOL OF
\ Colon definition
[CHAR] : EMIT SPACE DUP 1+ .NAME SPACE
DOCOL OF
\ Colon definition
[CHAR] : EMIT SPACE DUP 1+ .NAME SPACE
@@
-61,7
+61,7
@@
4 SPACES
4 SPACES
- >CFA >BODY ( get the data address, ie. points after DOCOL | end-of-word start-of-data )
+
LFA
>CFA >BODY ( get the data address, ie. points after DOCOL | end-of-word start-of-data )
( now we start decompiling until we hit the end of the word )
BEGIN ( end start )
( now we start decompiling until we hit the end of the word )
BEGIN ( end start )