Skip to content

Commit

Permalink
Adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maplant committed Dec 31, 2024
1 parent 7731e91 commit f667c02
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ That is obviously a long way away.
## Features currently unsupported by scheme-rs:

- Exceptions and error handling
- Dynamic winding
- Ports and IO operations
- Most API functions are not implemented
- A large portion of lexical structures are missing; there's no way to specify recursive data structures
Expand All @@ -39,17 +38,17 @@ in the repo's root directory (examples taken from wikipedia):
~/scheme-rs> cargo run
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s
Running `target/debug/scheme-rs`
>>> (let loop ((n 1))
... (if (> n 10)
... '()
... (cons n
... (loop (+ n 1)))))
> (let loop ((n 1))
(if (> n 10)
'()
(cons n
(loop (+ n 1)))))
$1 = (1 2 3 4 5 6 7 8 9 10)
>>> (let* ((yin
... ((lambda (cc) (display "@") cc) (call-with-current-continuation (lambda (c) c))))
... (yang
... ((lambda (cc) (display "*") cc) (call-with-current-continuation (lambda (c) c)))))
... (yin yang))
((lambda (cc) (display "@") cc) (call-with-current-continuation (lambda (c) c))))
(yang
((lambda (cc) (display "*") cc) (call-with-current-continuation (lambda (c) c)))))
(yin yang))
@*@**@***@****@*****@******@*******@********@*********@**********@***********@**********...^C
```

Expand Down

0 comments on commit f667c02

Please sign in to comment.