This website requires JavaScript.
Explore
lain.church
Help
Register
Sign In
izaya
/
collapseos
Watch
1
Star
1
Fork
0
You've already forked collapseos
Code
Issues
Pull Requests
Releases
Wiki
Activity
5d4155aa32
collapseos
/
forth
/
str.fs
8 lines
111 B
Forth
Raw
Normal View
History
Unescape
Escape
forth: Implement "(parseh)"
2020-03-18 21:52:55 -04:00
:
SLEN
( a -- n )
DUP
( astart aend )
BEGIN
DUP
C@
0
=
IF
-^
EXIT
THEN
Add words 1+ 2+ 1- 2- and consts 0 1 -1 Saves quite a few bytes in the final binary.
2020-04-15 21:29:39 -04:00
1+
forth: Implement "(parseh)"
2020-03-18 21:52:55 -04:00
AGAIN
;
Reference in New Issue
Copy Permalink