Questions tagged [lisp]

For questions about Lisp's design, or languages which are closely related to Lisp

Filter by
Sorted by
Tagged with
13 votes
1 answer
759 views

Is there a difference between Rust's `macro_rules!` and Scheme's `syntax-rules`?

This is an example for the use of Rust's macro_rules!: ...
ceving's user avatar
  • 356
7 votes
1 answer
238 views

Techniques for resilient parsing in the face of mismatched brackets?

Suppose you want to build an IDE-grade parser for a language with highly uniform and nestable syntax (e.g. Lisp). Without a lot of "special" constructs like top-level functions, you can't ...
Ken Micklas's user avatar
43 votes
6 answers
8k views

What language design features made Lisp useful for Artificial Intelligence research?

Lisp is often claimed to be one of the "[original] favored programming language[s] for artificial intelligence (AI) research" (source, additional reference, cross-site related question that ...
lyxal's user avatar
  • 1,775
11 votes
1 answer
197 views

What are the advantages to placing functions in a separate namespace?

In many modern languages, a function is just a specific kind of value that happens to be callable. However, some languages, even if they support first-class functions, assign functions to their own ...
Silvio Mayolo's user avatar