Syntax and Semantics of Programming Languages (1995)

homepage.cs.uiowa.edu

49 points by nill0 2 days ago


anonymousDan - 2 days ago

I've always really struggled to understand the purpose of defining the 'semantics' of a programming language and how it differs from syntax. Explanations that involve 'giving a precise mathematical meaning' just seem almost circular to me. As I understand it now it's about saying what the value of a particular language construct should be (e.g. when evaluated), as opposed to whether the construct is allowed/part of the language (syntax). Is that intuition wrong?

ks2048 - 2 days ago

It looks like this is the following book, if you want to read a two paragraph description (also a google search you lead you to a full-book PDF):

https://www.amazon.com/-/es/Formal-Syntax-Semantics-Programm...

Razengan - 2 days ago

I’ve been braining about a hypothetical language made from the ground up to be ideal for coding gameplay logic, and not worrying about hardware.

I’m designing from the syntax first but have no idea/energy to actually implement the language/runtime or have it be usable with Godot etc.

If I make the syntax and someone likes it, how to get someone to help me make it? :)