diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-02-05 09:58:49 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-02-05 09:58:49 -0500 |
| commit | d38b5f832cb1c032f7727f82ff2e1495193ea66e (patch) | |
| tree | ef1653a8617ee5154c9cea5e9a2948b874bd3c30 /implementation/vm.md | |
| parent | ea4d30020926bd2cb790c11aa311b4722d1fda75 (diff) | |
Update information about test cases for VM testing
Diffstat (limited to 'implementation/vm.md')
| -rw-r--r-- | implementation/vm.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/implementation/vm.md b/implementation/vm.md index 3e0c7259..660486d6 100644 --- a/implementation/vm.md +++ b/implementation/vm.md @@ -190,7 +190,7 @@ The compiler takes the runtime as `𝕨` and source code as `𝕩`. To evaluate I recommend roughly the following sequence of tests to get everything working smoothly. It can be very difficult to figure out where in a VM things went wrong, so it's important to work methodically and make sure each component is all right before moving to the next. * Test core runtime functions directly by calling them within the implementation language. -* Test the virtual machine with small snippets of handwritten bytecode, or with the output of `src/cjs.bqn` on test expressions such as those in [test/bcases.bqn](../test/bcases.bqn). +* Test the virtual machine with the output of `src/cjs.bqn` on the primitive-less test expressions in [test/cases/bytecode.bqn](../test/cases/bytecode.bqn). * Now test the self-hosted compiler by running it directly on small expressions. -* For a larger test, use [test/prim.bqn](../test/prim.bqn). The result should be an empty list `⟨⟩` indicating no failed tests. -* If test/prim.bqn passes you can almost certainly compile the compiler. +* For a larger test, use [test/cases/prim.bqn](../test/cases/prim.bqn). The result should be an empty list `⟨⟩` indicating no failed tests. +* If test/cases/prim.bqn passes you can almost certainly compile the compiler. |
