diff options
author | Akshay <[email protected]> | 2021-03-27 08:30:13 +0000 |
---|---|---|
committer | Akshay <[email protected]> | 2021-03-27 08:30:13 +0000 |
commit | edd17c604ed1e6ffa53f987bf6c66f40c89634da (patch) | |
tree | 71e52e4918ba5f3b3c0875d5adbf597b255ddc26 | |
parent | c7cc1acddc9ca327d9bcc29888e2322e3b60c134 (diff) |
language annotations in md
-rw-r--r-- | readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ format, [OBI](https://git.peppe.rs/graphics/obi). | |||
6 | 6 | ||
7 | Requires SDL2 and SDL2_ttf. | 7 | Requires SDL2 and SDL2_ttf. |
8 | 8 | ||
9 | ``` | 9 | ```shell |
10 | # creates a new file if it dosen't exist | 10 | # creates a new file if it dosen't exist |
11 | cargo run -- <filename>.obi | 11 | cargo run -- <filename>.obi |
12 | ``` | 12 | ``` |
@@ -31,7 +31,7 @@ Enter the REPL by pressing `(` on the keyboard. Complete the | |||
31 | lisp expression with a closing parenthesis and hit enter to | 31 | lisp expression with a closing parenthesis and hit enter to |
32 | execute it. The REPL supports basic readline operations. | 32 | execute it. The REPL supports basic readline operations. |
33 | 33 | ||
34 | ``` | 34 | ```lisp |
35 | (define (fac n) (if (<= n 1) 1 (* n (fac (- n 1))))) | 35 | (define (fac n) (if (<= n 1) 1 (* n (fac (- n 1))))) |
36 | (fac 5) | 36 | (fac 5) |
37 | ``` | 37 | ``` |