Comment by jcelerier
3 months ago
Syntax is being able to say whether this is a sequence of textual tokens such that we can prove that this a C program that compiles.
int c = 042;
printf("%d", c);
Semantics is what makes it print 34.
3 months ago
Syntax is being able to say whether this is a sequence of textual tokens such that we can prove that this a C program that compiles.
int c = 042;
printf("%d", c);
Semantics is what makes it print 34.
No comments yet
Contribute on Hacker News ↗