Lisp: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Line 14: Line 14:
My Comments
My Comments
||#
||#
</syntaxhighlight>
=Format to terminal=
<syntaxhighlight lang="lisp">
(format t "Hello World ~%")
</syntaxhighlight>
=Print=
<syntaxhighlight lang="lisp">
(print "Hello World")
</syntaxhighlight>
</syntaxhighlight>

Revision as of 01:15, 7 September 2024

Introduction

This is a quick tour on lisp. I decided to look at this because of the build a compiler youtube by lens_r which made me feel I am missing something. This has been rabbit hole which I have fallen done

Concepts

This is my view and maybe wrong but to me the first thing I noticed was the huge amount of parentheses which are involved. It made the language look really ugly and made me feel don't do this. I think I have touched this in the past because of a gun to my head. That said, like people, you probably need to understand before having a view, and even then, not for you is a better view and it is negative. So here is the half day I spent

Comments

;;;; Describe Program 4 semi colons
;;; Comments

;; Indented Comments

#|| Multiline
My Comments
||#

Format to terminal

(format t "Hello World ~%")

Print

(print "Hello World")