Semantics is about meaning. It includes:
- the static semantics, which is the part that can be ascertained at compile time, including data typing, whether all variables are declared, which declaration applies to which variable in the case of scoping, what their type is, whether functions and methods are called with correct calling sequences, whether assignments are type-compatible, etc., and
- dynamic semantics, which is what actually happens when the program is executed.
Source: Frank de Remer, Compiler Construction course, University of California, Santz Cruz, 1979.
Related Posts:
- What is the difference between syntax and semantics in programming languages?
- hat does “static” mean in C?
- What does “while True” mean in Python?
- What’s the meaning of “=>” (an arrow formed from equals & greater than) in JavaScript?
- How do you comment out code in PowerShell?
- How do I break a string in YAML over multiple lines?
- What is the difference between {} and [] in python?
- What does ‘&’ do in a C++ declaration?
- Tab space in Markdown
- In JavaScript is != same as !==
- syntaxerror: “unexpected character after line continuation character in python” math
- How do you express binary literals in Python?
- What Does This Mean in PHP -> or =>
- Comments in Markdown
- Can someone explain __all__ in Python?
- How to exit a loop in Python?
- How can I do a line break (line continuation) in Python?
- How do I pass multiple parameters into a function in PowerShell?
- Comments in Markdown
- What does the /= operator mean in Python?
- What do << or >>> in java mean?
- What is the Java ?: operator called and what does it do?
- What do >> and << mean in Python?
- Is there a difference between `continue` and `pass` in a for loop in python?
- How do I convert a float number to a whole number in JavaScript?
- What does `<>` mean in Python?
- Ternary operator (?:) in Bash
- What does the “at” (@) symbol do in Python?
- What is :: (double colon) in Python when subscripting sequences?
- Is there a difference between x++ and ++x in java?
- What does the “@” symbol do in PowerShell?
- What’s the u prefix in a Python string?
- What does the `and` keyword mean in OCaml?
- text highlight in markdown
- Python def function: How do you specify the end of the function?
- No Multiline Lambda in Python: Why not?
- What does @@variable mean in Ruby?
- How do you format an unsigned long long int using printf?
- Why virtual & static keywords aren’t allowed outside class declaration?
- What are those pipe symbols for in Ruby?
- Prolog “or” operator, query
- What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
- Python integer incrementing with ++ [duplicate]
- What is the := operator?
- What does “:=” mean in Pseudocode? [closed]
- Is it bad practice to comment out single lines of CSS with //?
- What is the result of % in Python?
- Adding a favicon to a static HTML page
- In laymans terms, what does ‘static’ mean in Java? [duplicate]
- Arrow operator (->) usage in C
- The static keyword and its various uses in C++
- Is double square brackets [[ ]] preferable over single square brackets [ ] in Bash?
- IndentationError: unexpected indent error
- syntax error: unexpected token <
- What does operator “dot” (.) mean?
- What is the reason behind “non-static method cannot be referenced from a static context”? [duplicate]
- Putting a simple if-then-else statement on one line [duplicate]
- Does anyone knows what “rimraf” means?
- How can I do a line break (line continuation)?
- C compiler for Windows?
- syntaxerror: “unexpected character after line continuation character in python” math
- What is the reason behind “non-static method cannot be referenced from a static context”?
- How to concatenate string variables in Bash
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- syntaxerror: “unexpected character after line continuation character in python” math
- JavaScript: SyntaxError: missing ) after argument list
- Creating a static class with no instances
- `from … import` vs `import .` [duplicate]
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- All possible array initialization syntaxes
- syntax error when using command line in python
- PHP “or” Syntax
- Are static class variables possible in Python?
- How to make “if not true condition”?
- What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
- syntax error when using command line in python
- -bash: syntax error near unexpected token `newline’
- How do I iterate over a range of numbers defined by variables in Bash?
- what is the meaning of == sign?
- Looking for a clear description of Excel’s .xlsx XML format
- How do I iterate over a range of numbers defined by variables in Bash?
- Compiled vs. Interpreted Languages
- -bash: syntax error near unexpected token `newline’ for display command
- The difference between += and =+
- Are multi-line strings allowed in JSON?
- Python: SyntaxError: keyword can’t be an expression
- Are multi-line strings allowed in JSON?
- What does “-ne” mean in bash?
- Nested JSON objects – do I have to use arrays for everything?
- What is the purpose of “&&” in a shell command?
- How can I fix MySQL error #1064?
- SyntaxError: Unexpected Identifier in Chrome’s Javascript console
- Reference — What does this symbol mean in PHP?
- Else clause on Python while statement
- What is the difference between a static and const variable?
- Else without if
- Static variables in JavaScript
- PowerShell string interpolation syntax
- How do you pass a function as a parameter in C?
- Getting error “a nonstatic member reference must be relative to a specific object” while both member are in the same class