xTalk is a loosely defined family of scripting languages. The father of all xTalk languages is HyperTalk, the language used by Apple's HyperCard environment. These languages are characterized by simple English-like syntaxes.
Contents |
go to the third card
if the last word of the first line of card field 1 contains "hello" then say "Okay"
repeat while the mouse is up
beep
end repeat
xTalk languages shares a common set of basic data structures and commands, as well as the general object model, and thus allow for relative portability between each other:
A few programming languages bear surface similarities to HyperTalk and were inspired by it. However, they have object models that differ so substantially that porting code from another xTalk requires a complete rewrite: