> A B@; # B is a pointer to type A
IIRC that's how Pascal did it, using a caret ^ for denoting a pointer.
IIRC that's how Pascal did it, using a caret ^ for denoting a pointer.
A pointer to type A is:
var B: ^A
The parser knows it is a declaration because of the var, and it knows ^A is the type, because of the colon. That it is a caret does not really matter here