Skip to main content

Roots of Lisp

Lisp is part of the construction of Clojure and the programming language that it took as a reference scheme. So it is important to know which are the roots of Lisp because we will know how and why the instruction were build and for what propose. 

Firstly, we will talk about the seven primitive operators. These operators work to modify lists or to convert symbols in lists. They are called primitive for their easy way to convert symbols or lists and to create new result which are more suitable.

However, this not the only advantages of a functional programming language as Lisp. We can create functions that after we could detonate for specific aplicables. It is unbelievable how Lisp works, for example, creating new functions with singular seven primitive operators could be a complex activity but in some cases the only limitation is our creativity of creating new functions. 

The eval functions is another great examples of how we can create a complex function with only seven primitive operators. Nevertheless, these are not all tools that we need to create a high complex functional as eval. We need to comprehend how recursion works in a functional programming languages and how to implement it in our functions.

Eval and another functions often use recursion. In a way we will have less extend our code and more readable, in principle it can sound more compound but it not necessary works in this way. If we can understand under which principles recursion operates, so we can program that use recursion without any problem.  

Finally, understanding this topic will be more aware of how Lisp work and consequently why Clojure was constructed under this plan. Personally, I like knowing the basis of Clojure and learning about another functional programming language. It can be different  which we are get use but knowing the principals of programming and logic we could comprehend in better way the roots of Lisp.

Reference

Article: P. Graham (2002). The Roots of Lisp. Recovered from http://34.212.143.74/s201913/tc2006/roots_of_lisp.pdf

Comments

Popular posts from this blog

Language as the “Ultimate Weapon”

The novel of 1984 is one of my favorite book because it reflect a future that can be possible in this time. In the book we read so many reference about the reality, language, war, peace, ignorance and other importante topics that currently they continue causing important repercussion in our days. Besides, George Orwell mention us what type of weapons use the government to stop the opposition and how they control the reality through the telescreen and their message to all society.  In Language as the "Ultimate Weapon" tell us an analysis about the novel of George Orwell: 1984. Without a doubt the language take an importante role in a fiction 1984, however nowadays too. It possible that the governments don't try to control our language or try to create a new weapon through of the language, but it could be kindred to the programming languages. In this blog I don't make an analysis or an opinion about the novel 1984, but I want to make a reflection about programmin...

About Clojure

In this podcast we listen to Rich Hickey, the creator of Clojure, talking about which were the main characteristics about it. Clojure is an important tool and programming language because it is a dynamic program language for JVM. This advantage allows Clojure to be adaptable for any host platform, concurrency, functional and based on Lisp. Although Lisp is a simple and elegant programming language, it is not known due to that it is studied individually, contrary to what we would think about this language.  Even with these particularities, Clojure keeps being a great tool to program in. For example, we can create programs that  are writing programs, we can handle a high level of function abstraction and we can benefit from its access to all Java libraries. It could be complicate coding everything with list but in Clojure, we also have data structures as vectors and maps. Clojure looks like a simple program in contrast to Java and its syntax, although the abstraction of Clo...