[Oberon] Intermediate scopes in Oberon-07

August Karlstrom fusionfile at gmail.com
Mon Feb 26 15:40:02 CET 2018


On 2018-02-26 13:35, Diego Sardina wrote:
> On Mon, Feb 26, 2018, at 12:15 PM, Артур Ефимов wrote:
>> By the way, does anybody know why in NW's compiler procedures "expression0", "
>> qualident
>> ", "selector", "element", "set", "factor", "term" (but not "SimpleExpression" for example)
>> start from a small letter?
>>
> 
> They reflect the names used in the grammar
Which just pushes the question forward. My guess is that it's simply for 
aesthetic reasons. Typographically speaking, fooBar is uglier than 
FooBar. Using parentheses in type guards is another example; x{T} would 
be easier to parse but Wirth chose x(T).

-- August


More information about the Oberon mailing list