diff options
Diffstat (limited to 'readme.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 | ``` |