From 372ec293670aded06f77f77fe836b279be31abfb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 22 Jul 2019 17:40:10 -0700 Subject: 5450 A couple of scripts that help debug discrepancies in the self-hosted translator. --- subx/diff_translate | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 subx/diff_translate (limited to 'subx/diff_translate') diff --git a/subx/diff_translate b/subx/diff_translate new file mode 100755 index 00000000..d0224fd7 --- /dev/null +++ b/subx/diff_translate @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +subx translate $* -o a0.elf +xxd a0.elf > a0.xxd +./translate $* # into a.elf and a.xxd +diff a0.xxd a.xxd -- cgit 1.4.1-2-gfad0