upvote
> Wtf kind of intro to a programming language doesn’t include syntax rules?

PP could have been more clear and say syntax-rules (note the dash), which means macros. Macros are usually considered an advanced topic.

reply
Thanks for the clarification! It makes much more sense seeing the term "macro".
reply
> Wtf kind of intro to a programming language doesn’t include syntax rules?

Given that most languages don’t have syntax rules or anything like it, I’m gonna go out on a limb and say that most language introductions/overviews/tutorials don’t mention it.

reply
Most? I question that.

In fact, what languages can you say do not have syntax rules?

reply
C, python, java, Fortran, ruby, Common Lisp, Haskell, go, zig (I think), forth, swift, cobol, pretty much any language that doesn’t directly descent from Scheme.
reply
Python and Java do not have any similar constructs
reply
syntax-rules refers specifically to Racket macros.

Since macros are a very important part of Racket, complaining that a friendly introduction mentions them is [insert non-friendly characterization].

reply