Classes – Wren
-
+
@@ -263,6 +263,7 @@ class using is when you declare the class:
This declares a new class Pegasus that inherits from Unicorn.
+
Note that you should not create classes that inherit from the built-in types (Bool, Num, String, Range, List). The built-in types expect their internal bit representation to be very specific and get horribly confused when you invoke one of the inherited built-in methods on the derived type.
The metaclass hierarchy does not parallel the regular class hierarchy. So, if
Pegasus inherits from Unicorn, Pegasus's metaclass will not inherit from
Unicorn's metaclass. In more prosaic terms, this means that static methods
diff --git a/contributing.html b/contributing.html
index 2a429c04..2d43ac6f 100644
--- a/contributing.html
+++ b/contributing.html
@@ -4,7 +4,7 @@
Contributing – Wren
-
+
diff --git a/control-flow.html b/control-flow.html
index 30d30dc1..bc557d1d 100644
--- a/control-flow.html
+++ b/control-flow.html
@@ -4,7 +4,7 @@
Control Flow – Wren
-
+
diff --git a/core-library.html b/core-library.html
index 57c35f8b..1aae2550 100644
--- a/core-library.html
+++ b/core-library.html
@@ -4,7 +4,7 @@
Core Library – Wren
-
+
@@ -227,19 +227,33 @@ unsigned values. The result is then a 32-bit unsigned number where each bit is
Also known as the "ternary" operator since it takes three arguments, Wren has
the little "if statement in the form of an expression" you know and love from C
-and its bretheren.
+and its brethren.
IO.print(1!=2?"math is sane":"math is not sane!")
diff --git a/fibers.html b/fibers.html
index 9b43854c..4662c5a9 100644
--- a/fibers.html
+++ b/fibers.html
@@ -4,7 +4,7 @@
Fibers – Wren
-
+
diff --git a/functions.html b/functions.html
index b6bc640a..c77edf06 100644
--- a/functions.html
+++ b/functions.html
@@ -4,7 +4,7 @@
Functions – Wren
-
+
diff --git a/getting-started.html b/getting-started.html
index 4cf529d3..772e3379 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -4,7 +4,7 @@
Getting Started – Wren
-
+
@@ -71,7 +71,7 @@ Mac and you can rock a command line, it's just:
hack on Wren. That's what I develop in. It builds fine from there but may not
have the exact same build settings. The Makefile is the canonical way to
compile it.
-
For our Windows bretheren, there's still a little work to be done. Ideally, the
+
For our Windows brethren, there's still a little work to be done. Ideally, the
repo would include a Visual Studio solution for building Wren. I don't have a
Windows machine, but if you do, I would be delighted to take a patch for this.
diff --git a/index.html b/index.html
index 5e6bc9f5..ca66a8a5 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
Welcome – Wren
-
+
@@ -100,8 +100,8 @@ a familiar, modern syntax.
Wren is a scripting language. Wren is intended for embedding in
applications. It has no dependencies, a small standard library,
- and an easy-to-use C API. It's written in warning-free
- standard C99.
+ and an easy-to-use C API. It compiles cleanly as C99, C++98
+ or anything later.
If you like the sound of this, give it a try! Even better, you can
diff --git a/lists.html b/lists.html
index 892a3177..af8db0cb 100644
--- a/lists.html
+++ b/lists.html
@@ -4,7 +4,7 @@