Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, obviously. There is no language that does not have a grammar. It's a requirement of all languages.

The point is, lisps have sometimes been referred to as "syntaxless" historically, for the reason that the grammar is that of the AST, not an arbitrarily designed grammar.

Ie. machine's grammar vs language designer's grammar.

You are right in saying it is not entirely correct to refer to them as syntaxless from a purely technical, linguistic point of view. But by throwing out his point as "technically incorrect", you are missing an important point about lisps.

Also, mentioning tokens that are used in Common Lisp doesn't quite compare to the verbose, heavily syntactical grammar of say, C++. Let me know the next time your lisp implementation throws you something called a "syntax error". You can't even get code to compile when you miss a parenthesis, which takes about three seconds to locate, tops.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: