From 10687ed8bb77ab5d07ccae7c7285e78302a66370 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 15 Jun 2021 20:50:55 -0700 Subject: . --- html/linux/advent2017/1a.mu.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'html/linux/advent2017/1a.mu.html') diff --git a/html/linux/advent2017/1a.mu.html b/html/linux/advent2017/1a.mu.html index 9eed512f..f3579b5d 100644 --- a/html/linux/advent2017/1a.mu.html +++ b/html/linux/advent2017/1a.mu.html @@ -29,6 +29,22 @@ body { font-family: monospace; color: #000000; background-color: #a8a8a8; }
+# Advent of code 2017, problem 1a
+#   https://adventofcode.com/2017/day/1
+#
+# Mu solution by Sumeet Agarwal and Kartik Agaram
+#   https://github.com/akkartik/mu/blob/main/linux/advent2017/1a.mu
+#   https://archive.org/details/2021-06-02-akkartik-sumeet
+#
+# To build on Linux:
+#   $ git clone https://github.com/akkartik/mu
+#   $ cd mu/linux
+#   $ ./translate advent2017/1a.mu            # emits a.elf
+# To run on Linux:
+#   Download https://adventofcode.com/2017/day/1/input
+#   $ ./a.elf < input
+# Type in the number returned at https://adventofcode.com/2017/day/1
+
 fn main -> _/ebx: int {
   var input_stream: (stream byte 0x8000)
   var input_stream_addr/esi: (addr stream byte) <- address input_stream
-- 
cgit 1.4.1-2-gfad0