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?
- Is it bad practice to comment out single lines of CSS with //?
- In laymans terms, what does ‘static’ mean in Java? [duplicate]
- syntax error: unexpected token <
- 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?
- What is the reason behind “non-static method cannot be referenced from a static context”?
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- syntaxerror: “unexpected character after line continuation character in python” math
- JavaScript: SyntaxError: missing ) after argument list
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- syntax error when using command line in python
- Are static class variables possible in Python?
- syntax error when using command line in python
- 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?
- The difference between += and =+
- Python: SyntaxError: keyword can’t be an expression
- Are multi-line strings allowed in JSON?
- What does “-ne” mean in bash?
- Else without if
- 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
- Mocking static methods with Mockito
- JavaScript error (Uncaught SyntaxError: Unexpected end of input)
- jquery variable syntax [duplicate]
- Difference between Static methods and Instance methods
- Can a URL contain a semicolon and still be valid?
- Bash syntax error: unexpected end of file
- Difference between static class and singleton pattern?
- Printing variables in Python 3.4
- Reference — What does this symbol mean in PHP?
- What is the difference between clang (and LLVM) and gcc / g++?
- Syntax error on token(s), misplaced construct(s)
- C++ variable has initializer but incomplete type?
- What is the use of a private static variable in Java?
- Update GCC on OSX
- Java syntax explanation – getMenuInflater()
- Cross-reference (named anchor) in markdown
- Static Initialization Blocks
- Syntax error on token “;”, { expected after this token in Random string creator
- How do I compile the asm generated by GCC?
- Javascript: difference between a statement and an expression?
- Dynamic vs static array in c
- How to get rows and columns count of a 2D array in Java?
- Why and when to use static structures in C programming?
- Is it possible to install a C# compiler without Visual Studio?
- Does static constexpr variable inside a function make sense?
- PHP syntax question: What does the question mark and colon mean? [duplicate]
- variably modified array at file scope in C
- Compiler warning – suggest parentheses around assignment used as truth value
- Member function with static linkage
- What is the Python equivalent of static variables inside a function?
- How to swap text based on patterns at once with sed?