You are in the kitchen of the white house. A table has recently been used for the preparation of food. A passage leads west and a dark staircase leads upward. A chimney leads down and to the east is a small window which is open.
A bottle is sitting on the table.
The glass bottle contains:
A quantity of water
On the table is an elongated brown sack, smelling of hot peppers.
> go down the chimney
Only Santa Claus climbs down chimneys.
> go west
You are behind the white house. Paths lead into the forest to the east and northeast. In one corner of the house is a small window which is slightly ajar.
> examine the window
The window is slightly ajar, but not enough to allow entry.
> open the window
With great effort, you open the window enough to allow entry.
> enter the house
You are ten feet above the ground, nestled among large branches. Beside you on the branch is a small bird’s nest. In the bird’s nest is a large egg encrusted with precious jewels, apparently scavenged by a childless songbird.
> take the egg
> go down
> go south
> go east
Well here’s something I never thought I’d write in Fabulous Adventures in Coding when I started this blog more than ten years ago:
Today is my first day at Facebook.
It still feels weird to say it. But as it turns out, Facebook has a language design team and they have very generously asked me to be a part of it.
Now perhaps it is clear why I have been working frantically to learn OCaml for the last couple of months; several of Facebook’s compilers are written in OCaml, and so I’m going to need to have a working knowledge of that language very quickly. I figured that writing a Z-machine interpreter (and, spoiler alert, a debugger) in OCaml might be a good way to get some practice in while waiting to start on the real thing! And I figured that learning F# and then having to un-learn all the ways in which F# differs from OCaml would not serve my interests.
It is still not entirely clear what exact aspects of developer tools I’ll be working on. Facebook has a lengthy and intensive “boot camp” process to get new hires up to speed, so I’ll be heads-down on that for the next eight weeks or so – which is another reason why I wanted to have a lengthy blog series already queued up.
Odds are pretty good that I’ll be working on the Hack compiler first; Hack is a gradually typed extension to PHP that looks remarkably like C#. I’ll post more – lots more! – once I have my feet under me here.
Another fabulous adventure! I can’t hardly wait!
This is a path through a dimly lit forest, curving from south to east. A large tree with low branches stands by the edge of the path. On the ground is a pile of leaves.
> count the leaves
> climb the tree
> go north
You are facing the north side of a white house. There is no door here, and all the windows are boarded up. A narrow path winds north through the trees.
> go north
You are standing in an open field west of a white house, with a boarded front door. You could circle the house to the north or south. There is a small mailbox here.
> open the mailbox
Opening the small mailbox reveals a leaflet.
> read the leaflet
“WELCOME TO ZORK, a game of adventure, danger, and low cunning. No computer should be without one!”