<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw" -->

---
title: Roll A Lisp In C | daily.dev
description: This post discusses the implementation of a Lisp interpreter in the C language, including the Lisp reader and writer. It explains how to lexically analyze a...
canonical: https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Roll A Lisp In C | daily.dev
og:description: This post discusses the implementation of a Lisp interpreter in the C language, including the Lisp reader and writer. It explains how to lexically analyze a...
og:url: https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw
og:image: https://api.daily.dev/og/posts/y4Ips2TaW.png
og:image:alt: Roll A Lisp In C
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Roll A Lisp In C

**[Hacker News](https://daily.dev/sources/hn)** · 4 min read · 2 upvotes · 1 comments

## Summary

This post discusses the implementation of a Lisp interpreter in the C language, including the Lisp reader and writer. It explains how to lexically analyze a Lisp expression, create a list structure using pairs, and convert a C string into tokens. The post provides enough information to start evaluating different syntactic expressions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://swatson555.github.io/posts/2020-01-18-make-a-lisp-1.html>

## Community discussion

Top comments from developers on daily.dev.

**@justinaebi** · 0 upvotes

> The Image for this post made me think there was a smudge on my screen with that tiny dot in the clouds...

---

Tags: [#lisp](https://daily.dev/tags/lisp)

[View this post on daily.dev](https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Roll A Lisp In C","url":"https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw"},"datePublished":"2024-05-12T14:29:36.868Z","dateModified":"2024-05-12T14:29:35.020Z","description":"This post discusses the implementation of a Lisp interpreter in the C language, including the Lisp reader and writer. It explains how to lexically analyze a...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"lisp","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Roll A Lisp In C"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/roll-a-lisp-in-c-y4ips2taw","comment":[{"@type":"Comment","text":"The Image for this post made me think there was a smudge on my screen with that tiny dot in the clouds…","datePublished":"2024-05-15T22:23:01.467Z","url":"https://daily.dev/posts/y4Ips2TaW#c-AybjEaYeT","author":{"@type":"Person","name":"Justin Aebi","url":"https://daily.dev/justinaebi","image":"https://lh3.googleusercontent.com/a/ACg8ocJ2orYVQWVF2BzB2V8eEvRw-X27o9Bj5h1HxNyQv9HFmI7AGjs=s96-c"}}]}
```

