diff options
Diffstat (limited to 'goto-powerful')
-rw-r--r-- | goto-powerful | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/goto-powerful b/goto-powerful index 3714cd4..64985d2 100644 --- a/goto-powerful +++ b/goto-powerful @@ -1,6 +1,6 @@ Go To Statement Considered Powerful -[Sprog] is a programming language I have been working on, on and off +Oort is a programming language I have been working on, on and off (mostly off), since 2007. It is a statically typed, object-oriented, imperative language with a set of features that one has come to expect: Classes, functions and methods can be nested arbitrarily, and @@ -105,9 +105,9 @@ invoking it multiple times, we have the full call/cc semantics. One of the examples on the Wikipedia page about call/cc is a cooperative thread system. With the call_cc() function above, we could -easily translate the Wikipedia code into Sprog, but using the fact -that first class labels can be directly stored in data structures -makes it possible to write a more straightforward version: +easily translate the Wikipedia code into Oort, but using the fact that +first class labels can be directly stored in data structures makes it +possible to write a more straightforward version: run_list: list[label] = new list[label](); @@ -140,7 +140,7 @@ another thread, we save our own position and jump to the next thread on the list. Exiting consists of jumping to the first process if there is one, and exiting the process if there isn't. -The code above doesn't actually run because the current Sprog +The code above doesn't actually run because the current Oort implementation is lame and doesn't support genericity, but [here] is a somewhat uglier version that still demonstrates the principle while also actually running. |