add SOURCE-ID

optimize
Clyne 1 year ago
parent 97a590fc8e
commit 6bd7338414
Signed by: clyne
GPG Key ID: 3267C8EBF3F9AFC7

@ -15,7 +15,7 @@ Alee Forth uses the [Forth 2012 test suite](https://github.com/gerryjackson/fort
**Missing** core extension words:
```
PARSE-NAME REFILL RESTORE-INPUT S\" SAVE-INPUT SOURCE-ID
PARSE-NAME REFILL RESTORE-INPUT S\" SAVE-INPUT
```
## Building

@ -74,3 +74,4 @@
rot dup >r c! r> char+ swap repeat
2drop r> tuck - ;
: source-id _source @ _begin < if 0 else -1 then ;

Loading…
Cancel
Save