Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bobappleyard/ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bobappleyard committed Jun 20, 2012
2 parents bf1c568 + f65e17e commit 9f99d01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 1 addition & 3 deletions README
Expand Up @@ -62,9 +62,7 @@ Read more
---------

Running godoc will give you a run-down of the functions, types etc defined by
the distribution. Peruse the doc directory for information on programming in
Transcript, extending the language and embedding the language into your
programs.
the distribution.

Version History
---------------
Expand Down
10 changes: 4 additions & 6 deletions doc.go
Expand Up @@ -63,12 +63,13 @@ The logical operators "&&" (and) and "||" (or) are provided.
false && true // false
false || false // false
These operator have short-circuiting. This means that if the value of the
These operators have short-circuiting. This means that if the value of the
expression can be determined after evaluating the left operand, the right
operand is not evaluated.
There is "nil", which represents no value. This is primarily used as the return
value of functions and methods that are only called for their side effects.
value of functions and methods that are only called for their side effects, as
well as for uninitialised fields and variables.
Strings have the usual C-like syntax: enclosed in speech marks with "\" for
escape sequences.
Expand Down Expand Up @@ -188,10 +189,7 @@ Here <function> means an expression that evaluates to a function.
e.g.
def f(x)
print(x);
end;
f(5);
print(5);
Prints "5".
Expand Down
2 changes: 1 addition & 1 deletion interpreter.go
Expand Up @@ -1205,7 +1205,7 @@ func writeString(w io.Writer, s string) {

func readHeader(r io.Reader) (header []uint16, ok bool) {
defer func() {
recover();
recover()
ok = false
}()
header = readBlock(r, hSize)
Expand Down

0 comments on commit 9f99d01

Please sign in to comment.