Skip to content

Commit

Permalink
move fib.scm to fib.hu, getting ready for hush_test.go. Should fib.hu…
Browse files Browse the repository at this point in the history
… be move into 'examples/' or something?
  • Loading branch information
David Brunton committed Jan 18, 2012
1 parent 5b76c55 commit 9f973c5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions hush/README
Expand Up @@ -3,3 +3,7 @@ hush is a hu shell. To install it from this directory, type:
> go install

To invoke it, type "hush".

To invoke it with a hu program as an argument, type (e.g.):

> hush -filename="fib.hu"
2 changes: 2 additions & 0 deletions hush/fib.hu
@@ -0,0 +1,2 @@
{define fib {lambda (n) {if {< n 2} n {+ {fib {- n 1}} {fib {- n 2}}}}}}
{fib 15}
6 changes: 0 additions & 6 deletions hush/fib.scm

This file was deleted.

2 changes: 1 addition & 1 deletion hush/hush.go
@@ -1,7 +1,7 @@
package main

import (
"github.com/eikeon/hu"
"hu"
"fmt"
"os"
"bufio"
Expand Down

0 comments on commit 9f973c5

Please sign in to comment.