Semantics

Beatnik on 2003-12-09T10:21:03

It took me a while to understand some of the Perl Buzzwords but I hope I understand most of them now (even though I hopefully understand Perl better than I understand those words). I'm not a native english speaker and it's not my second language either. Although I speak and write a lot of english, I still miss out on some basics. Let's see... where to begin?

  • Semantics : The understanding of what words mean... More or less what all this is about.
  • Scoping : To work within an area of observation.
  • Lexical : See scope. Lexical variables are only defined within a certain scope.
  • Pragma : A specific form of comments to which a specific program interacts..
  • Localizing : Assigning to a specific place.

  • Re: semantics

    htoug on 2003-12-09T11:00:42

    Semantics : The understanding of what words mean... More or less what all this is about.
    Compare to: Syntax : The formal rules for putting word in sentences... how you write it
    Those two are an unseparable pair - even though Dan Sugalski often says "thats syntax, and I don't do syntax" on the perl6 lists while discussing syntax ;-P

    Scope, lexical and localising are all aspects of the same thing, more or less ... or not depending on how you look at it.

    Pragma is something which changes either the syntax or the semantics of your language - not just extends it, but changes it.

    Just my dKr 0,02 - as another non-native-English-speaker (even though English was my second language - a joint second place with gaelic, french and latin, which may be the reason for my muddled way of writing, thinking and speaking).