summaryrefslogtreecommitdiff
path: root/transpile-tests/README.md
diff options
context:
space:
mode:
authorRobert Obkircher <robert.obkircher@gmail.com>2024-11-07 19:41:09 +0100
committerCliff Click <cliffc@acm.org>2024-11-16 15:05:18 -0800
commit2ccaa33540a4b44bac5847226501a14b9e8396b8 (patch)
treef2d4f6bb9cfdc4a0300e7be8b81449b12e25cbf0 /transpile-tests/README.md
parent86290d37fb49fb7839beefc405c43dfe664375b8 (diff)
downloadSimple-2ccaa33540a4b44bac5847226501a14b9e8396b8.tar.gz
Simple-2ccaa33540a4b44bac5847226501a14b9e8396b8.zip
transpile-tests: improve parsing of evaluator assertions and update RustPrinter
Diffstat (limited to 'transpile-tests/README.md')
-rw-r--r--transpile-tests/README.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/transpile-tests/README.md b/transpile-tests/README.md
index 0f13756a..aafd3161 100644
--- a/transpile-tests/README.md
+++ b/transpile-tests/README.md
@@ -2,7 +2,8 @@
This module may be helpful if you want to create an implementation of Simple in another language.
It can parse the JUnit tests to automatically translate most of the boilerplate.
-Some manual tweaks will still be required though, because only common patterns are detected.
+Some manual tweaks will still be required though, because only common patterns are detected
+(e.g. 01: testSimpleProgram, testZero; 04: testVarArg; 08: testRegress5; 09: testMeet, ...)
## Usage
@@ -12,7 +13,3 @@ and implement a pretty printer for your favourite language.
For an example you can refer to `printers.RustPrinter`,
which produces tests similar to the ones used by
[Simple-Rust](https://github.com/SeaOfNodes/Simple-Rust).
-
-Note that although all tests of all chapters are parsed,
-you probably only want to transpile the latest test of each chapter.
-For the rest you can just manually port the small changes between chapters.