Examples
- Agent.obl. An example of
agent hopping.
- ArithServer.obl, ArithClient.obl. A server
for arithmetic operations.
- Booleans.obl. Booleans
encoded as objects.
- Calc.obl. A calculator object.
- Calculator.obl, Calculator.fv. A calculator
with a user interface (provided by Calculator.fv).
- Circle.obl. Code for drawing
circles
- ComputeServer.obl,
ComputeClient.obl. A
compute server impemented as a remote object.
- Contra.obl. An animation
of contravariance.
- Coords.obl. An example of
mouse event detection.
- DirServer.obl, DirClient.obl.
A directory server that can execute cd, ls, and pwd at the server's
site.
- Engine.obl. Starting up
a remote compute server when needed.
- Eval.obl. Obliq's version
of "eval", to evaluate a string containing obliq source.
- Fact.obl. Examples of recursion
and iteration.
- FactServer.obl, FactClient.obl. A server for
factorial and counting. Useful to see how many recursive calls
one can do in a remote server thread.
- FortuneServer.obl,
FortuneClient.obl. A
server for "fortunes". Clients may add new fortunes
to a database, on the way back from chinese restaurants, and
retrieve fortunes one at a time. The database is pickled to survive
server outages.
- Netobjd.obl. Starts a network
object daemon (name server) on a given machine, and waits for
it to come online.
- Numerals.obl. The amazing
purely-object-oriented natural numbers.
- ObjectMigration.obl.
How to migrate an object between sites, consistently.
- Pickle.obl. Pickle utilities.
- Queue.obl. A queue object
for multiple readers/writers.
- Race.obl. Experiments with
race conditions.
- Shell.obl. Unix shells.
- Sieve.obl, Sieve2.obl.
The prime number sieve as a self-cloning, self-modifying object
(subtle!).
- TimeServer.obl, TimeClient.obl. A crude time
server.