Top "Semantics" questions

The study of meaning as it applies to programming languages

What is the opposite of 'parse'?

I have a function, parseQuery, that parses a SQL query into an abstract representation of that query. I'm about to …

parsing language-agnostic semantics naming
How to properly use h1 in HTML5

Which of the following is the correct way to structure a page: 1) h1 only in header <header> <…

html seo semantics semantic-markup
Meaning of <<= and |=

What is the meaning of <<= and |= in C? I recognise << is bitshift etc. but I don't …

c operators semantics bit-shift logical-operators
Semantically, which is more correct: a in h2, or h2 in a?

I'm stuck deciding which to use as both seem to work. Should I be placing links <a> inside …

html standards semantics
cudaMemset() - does it set bytes or integers?

From online documentation: cudaError_t cudaMemset (void * devPtr, int value, size_t count ) Fills the first count bytes of the …

cuda semantics memset
Javascript: difference between a statement and an expression?

I asked this question earlier, and after thinking about the topic some more, I began to wonder where the seemingly …

javascript expression terminology semantics
Semantics and Structure of Name-Value Pairs

This is a question I have been struggling with for a while. What is the proper way to mark up …

html css semantic-web semantic-markup semantics
Computed read-only property vs function in Swift

In the Introduction to Swift WWDC session, a read-only property description is demonstrated: class Vehicle { var numberOfWheels = 0 var description: String { …

methods properties semantics swift
Why would R use the "L" suffix to denote an integer?

In R we all know it is convenient for those times we want to ensure we are dealing with an …

r parsing integer semantics
Are there any tools to visualize a RDF graph? (please include a screenshot)

I'm looking for a tool that will render a RDF graph in a reasonably useful graphic format. The primary purpose …

rdf semantics semantic-web owl ontology