"Semantic Code Highlighting Mockup"

Section - Object Highlighting

[An assertion sentence for a newly created object should indicate the words understood as part of its name.]

Stage is a room. A box and the delicious bagels are things.

[This would help catch situations where reserved words conflict with object names.]

The Old Man and the Sea is here. A thing called The Young Man and the Waves is here.

[References to existing objects could be tagged with a much more subtle color.

The Meadows is a room. East of Meadows is Shack. Some pickles are in Shack.

[This would help catch categories of bugs where the author erroneously thinks a new object is being created. For example, in the sentence below, the dull highlight reveals that this sentence is not creating the Stage, and catches that the second sentence is being misunderstood (creating an object called "delicious bagels here.")]

Stage is a room. There are delicious bagels here.

[In addition, it might be useful to have articles highlighted in assertions when they are understood as meaningful. Here, the highlighting helps reveal when the articles are understood as meaningful, and when (maybe erroneously) they're understood as part of the object's name.]

A dog, the wrench, some kleenex, a thing called the stereo, and your basketball are in Stage.

[Sentences that aren't understood should also be highlighted. Ideally, a hover-over message could reveal the problem (Hover to demo).]

A room called Field is east of Meadows.

[The hover concept could be taken further: it could reveal the full name of a referenced object (hover to demo). It could also be linked so clicking could jump to and highlight the referenced sentence.]

The bagels and The Old Man and the Sea is edible.

Section - Rule Highlighting

Section - Kinds Highlighting

Section - Variables Highlighting

Section - Properties Highlighting