lua-users home
lua-l archive

Re: Definition of Semantic: was What Lua can do that other programming languages can't do?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Mar 25, 2013 at 2:53 PM, Steve Litt <slitt@troubleshooters.com> wrote:
> Have I made this distinction correctly? Is "semantics of" a synonym for
> "behavior of"?
no, "semantics" means "meaning" . from wikipedia:
Semantics (from Ancient Greek: σημαντικός sēmantikós)[1][2] is the
study of meaning
it's common to discuss the semantics of programming language primitive
or basic libraries when you want to talk about what those things mean.
q: what does t[x] mean?
a: it's a reference to a member to table 't' indexed by key 'x'
--
Javier

AltStyle によって変換されたページ (->オリジナル) /