hy-lisp-python
hy-lisp-python copied to clipboard
examples for my book "A Lisp Programmer Living in Python-Land: The Hy Programming Language"
Code for my book "A Lisp Programmer Living in Python-Land: The Hy Programming Language"
The code examples have been updated in May 2024 to run with Hy version hy-0.28.0:
Code examples
I am in the process of adding new examples (mostly LLM) and deprecating old examples. The old examples will be moved to the directory OLD_EXAMPLES_NO_LONGER_IN_BOOK and removed from the book.
$ hy
Hy 0.26.0 using CPython(main) 3.11.0 on Darwin
=>
A new version of my Hy book rseleased Thusrday May 25, 2023.
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
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).