You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
First and foremost - Thank you for valuable insights! Particularly, I was convinced even before I asked this question that the structure I was pondering could be somehow made/simulated in Lisp itself, just had no idea how (do not know that much). The example that starts from what the pondering was - with a simulation of it - tells and teaches a lot. Commentary adds some sugar on top. I am not sure that there is anything else to add to this but I am inclined to mark this as an answer to the question. At least it is as such to me.Lj MT– Lj MT2019-07-05 18:57:18 +00:00Commented Jul 5, 2019 at 18:57
-
1I would like however to leave another note. Lisp books would be much more helpful if they classify sets of s-expressions (later I learned they are called like that because they are 'symbolic' expressions). I know that there is something I can call 'standard' S-exp which is in the form (op list...) which evaluated every member of list (if present) and then do the op. But, not all S-Exps do the same. This is not stressed enough. We shall learn what they are in the concept before we learn what they do. I believe this would be helpful. IMHO. Maybe that becomes obvious by the time.Lj MT– Lj MT2019-07-05 19:02:18 +00:00Commented Jul 5, 2019 at 19:02
-
@ljgww: right, symbolic expressions. The 'standard' s-expressions are called 'function forms', where the first operator is a function name and the other elements are arguments, which are in Common Lisp evaluated left-to-right. The other forms are usually called 'macro forms' and 'special forms' (using built-in operators with special behavior). So if we look at an operator, we also need to know if it's a function, a macro (and what kind of macro) or one of the special operators. The Common Lisp standard defines it in detail. A good Lisp book should explain that, too. Important, as you say.Rainer Joswig– Rainer Joswig2019-07-05 19:38:07 +00:00Commented Jul 5, 2019 at 19:38
-
Taking note on proper terminology. TY @Rainer (intended as a joke not as question: why it is s-expression and not symbolic-exp? - its about same length :) )Lj MT– Lj MT2019-07-06 21:13:41 +00:00Commented Jul 6, 2019 at 21:13
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you