Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Code for my book "A Lisp Programmer Living in Python-Land: The Hy Programming Language"

The code examples have been updated in September 2024 to run with Hy version 1.2 (most current as of March 2026).

Code examples

I now exclusively use uv as a package manager and to run exmples; for example:

uv run hy test2.hy

You can purchase the book at leanpub or read the book online for free. I offer free updates to new editions to all of my books purchased on leanpub.

Book Content

Since 2023, most updates to this book have involved adding more LLM examples.

This book covers many programming topics using the Lisp language Hy that compiles to Python AST and is compatible with code, libraries, and frameworks written in Python. The main topics we will cover and write example applications for are:

  • Relational and graph databases
  • Web app development
  • Web scraping
  • Accessing semantic web and linked data sources like Wikipedia, DBpedia, and Wikidata
  • Automatically constructing Knowledge Graphs from text documents, semantic web and linked data
  • Deep Learning
  • Natural Language Processing (NLP) using Deep Learning
  • OpenAI GPT APIs
  • LangChain for chaining Large Language Model operations

Please note that this repo also contains examples that are a work in progress (these directories conatin a file named NOT_YET_IN_BOOK.md).