Skip to content

Commit

Permalink
Link SCRAMB.DO
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Jul 29, 2024
1 parent 379e808 commit e23541c
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -540,20 +540,21 @@ github release or run `make cfiles`.

## Testing

Run `make check` to try out the tokenizer on some [sample Model 100
programs](https://github.com/hackerb9/tokenize/tree/main/samples) and
some strange ones designed specifically to exercise peculiar syntax.
The program `bacmp` is used to compare the generated .BA file with one
created on hackerb9's Tandy 200.
Run `make check` to test this tokenizer on some [sample Model 100
programs](https://github.com/hackerb9/tokenize/tree/main/samples)
including some strange ones designed specifically to exercise peculiar
syntax. The program `bacmp` is used to compare the generated .BA file
with one created on hackerb9's Tandy 200.

Note that without m100-sanity, the SCRAMB.DO test, whose input is
scrambled and redundant, would fail.
For example,
[SCRAMB.DO](https://github.com/hackerb9/tokenize/blob/main/samples/SCRAMB.DO)
has input that is scrambled and redundant to check if m100-sanity is
working correctly.

``` BASIC
20 GOTO 10
10 GOTO 10
10 PRINT "!dlroW ,olleH"
```

## bacmp: BASIC comparator
Expand Down

0 comments on commit e23541c

Please sign in to comment.