Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug of tokenizing identifiers that contain numbers
- Loading branch information
1 parent
80d5d30
commit 3ef86bf
Showing
4 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
((lambda (x) | ||
(define (fibonacci x a b) | ||
(if (> x 0) | ||
(fibonacci (- x 1) b (+ a b)) | ||
b)) | ||
(fibonacci x 0 1) | ||
) 100) |