Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ To updated expected output files run the `record` subcommand:
$ ./test.py record
```

The [./examples/](./examples/) folder contains programs that are ment for showcasing the language rather then testing it, but we still can use them for testing just like the stuff in the [./tests/](./tests/) folder:
The [./examples/](./examples/) folder contains programs that are meant for showcasing the language rather then testing it, but we still can use them for testing just like the stuff in the [./tests/](./tests/) folder:

```console
$ ./test.py -f ./examples/
Expand Down
2 changes: 1 addition & 1 deletion tests/arithmetics.porth
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include "std.porth"

"------------------------------\n" stdout write

"Divison:\n" stdout write
"Division:\n" stdout write
69000 1000 / print

"------------------------------\n" stdout write
Expand Down
2 changes: 1 addition & 1 deletion tests/arithmetics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Addition:
Subtraction:
420
------------------------------
Divison:
Division:
69
------------------------------
Modulo:
Expand Down
4 changes: 2 additions & 2 deletions tests/memory.porth
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mem 3 + 10 .
// print "abc" to stdout
4 mem stdout write print

// increament each character by 1 making it "bcd"
// increment each character by 1 making it "bcd"
mem 0 + dup , 1 + .
mem 1 + dup , 1 + .
mem 2 + dup , 1 + .
Expand All @@ -19,4 +19,4 @@ mem 2 + dup , 1 + .

// print UINT64_MAX (Largest 64 bit word)
mem 18446744073709551615 .64
mem ,64 print
mem ,64 print