From 04ca8f5defd0f032e93c0bdbd1ed478f4a1b4ee4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 10 Aug 2015 16:35:29 -0700 Subject: 1972 - resize Readme images to match text size Now that we have larger-res images for the Readme they look good even if the browser is magnified with ctrl-+ (like mine is). factorial-test.png looks about the same size as surrounding text at 250px wide. Original size is 330px. factorial.png original size is 450px. So its width should be 340px. chessboard-test.png original size is 423px. So its width should be 320px. --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 0fe805d8..47359cd4 100644 --- a/Readme.md +++ b/Readme.md @@ -79,7 +79,7 @@ compiling. As a sneak peek, here's how you compute factorial in Mu: -![code example](html/factorial.png) +code example Mu functions or 'recipes' are lists of instructions, one to a line. Each instruction operates on some *ingredients* and returns some *products*. @@ -123,7 +123,7 @@ You can also run its unit tests: Here's what one of the tests inside `factorial.mu` looks like: -![test example](html/factorial-test.png) +test example Every test conceptually spins up a really lightweight virtual machine, so you can do things like check the value of specific locations in memory. You can @@ -131,7 +131,7 @@ also print to screen and check that the screen contains what you expect at the end of a test. For example, `chessboard.mu` checks the initial position of a game of chess (delimiting the edges of the screen with periods): -![screen test](html/chessboard-test.png) +screen test Similarly you can fake the keyboard to pretend someone typed something: -- cgit 1.4.1-2-gfad0