I read in the book "Land of Lisp", the author mentions syntax expression. Does that mean the ability to express syntax as a form of data? Is this the same as S-expression (symbolic expression)?
What is syntax expression?
260 Views Asked by Amumu At
1
There are 1 best solutions below
Related Questions in LISP
- How to copy and paste an autocad table using python
- common lisp type vector of fixnums
- LISP to Batchplot (Publish) Multiple .dwg Models into One PDF
- Make changes to a LISP code for AutoCAD, it is possible?
- FeatureLines civil3d
- Detecting shared structure in tree made of cons cells
- How to load FRL into Clisp?
- Scheme Question - How can I check if there are a list of pairs
- do v. do*: Why does the same code produce a different result?
- undefined variable: COMMON-LISP:PROGN when running DO
- Making an SBCL program stop
- Getting arguments from the command line within SBCL
- "undefined variable: COMMON-LISP-USER::PRIMELIST" warning, using SBCL
- Counting vowels in Lisp
- Exercise 12.10 from the book Scheme and the art of programming
Related Questions in S-EXPRESSION
- gpg-agent GENKEY via cli for simplest RSA , invalid length specifier in sexp returned, using documentation example
- How to parse string to list in typed racket
- How to generate a pairlist with no defaults without using alist?
- How to convert s-expression which is in string into a tuple in Python
- TypeError: 'int' object is not subscriptable while doing s-expression in Python
- Unbound value "string_of_sexp"
- Is it possible to implement a simple typed lisp in the TypeScript type system?
- What is an S-Expression
- How to represent multiple-output logic circuits in tree-based genetic programming
- DrRacket: Desurgaring all uses of and, or, not into nested ifs
- Non-intrusive extension of Rcpp with Rcpp::traits::Exporter
- How to convert a list to code/lambda in scheme?
- `Rcpp::wrap` and `Rcpp::as` for external classes that use Rcpp namespace classes
- Extending Rcpp::as for custom classes depending on Rcpp.h
- Why do these two equivalent expressions in java and lisp have different outcomes?
Related Questions in LAND-OF-LISP
- Getting ERR_INVALID_HTTP_RESPONSE using web server code in Land of Lisp with clisp on OS X
- Memoization with a closure example from Land of Lisp
- Wumpus game's make-city-edges function causes heap overflow
- LISP: Reversing a List in LISP using RPLACA/RPLACD/NCONC
- Extracting nodes form dotted list (edges) in CLISP
- Cadr of a list involving assoc function
- confusion with Lisp "if" and 'cons' command
- Understanding data mode in Lisp, why are these expressions not the same?
- Printing to screen while in loop
- Why can't CASE be used on string values and only symbol values?
- Can you program without REPL on Lisp?
- Stack overflow from recursive function call in Lisp
- land of lisp src webserver.lisp
- Land of Lisp function uedges->dot error or can't understand
- tweak-text: Lisp nesting exceeds `max-lisp-eval-depth
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
A symbolic expression is data which is serialized as known from Lisp. It uses symbols, strings, numbers, lists and more. Lists are written in the form of
(expression*).Thee author of Land of Lisp talks about syntax expressions and Lisp syntax expressions. Seems like this is something he invented (discovered?). ;-) He probably means an expression in Lisp syntax, where something like
(walk right)is such an expression with the first element of the list being a verb.In Common Lisp a valid expression of the programming language is called a Lisp form. So an s-expression can express all kinds of data, but not all s-expressions are valid Lisp programs. For example
(defun)is not a valid Common Lisp program, since it lacks a function name and a parameter list - plus the optional declarations, documentation and implementation body:(defun foo ()).