What is Nostr?
WetHat💦 /
npub18nw…nrq2
2024-05-20 07:11:25

WetHat💦 on Nostr: Homoiconic #Python. A homoiconic programming language does not distinguish code from ...

Homoiconic #Python.

A homoiconic programming language does not distinguish code from data. This is a feature #Lisp is famous for and was used to implement itself. The article shoes how to implement a Lisp like language based on Python lists using Python's code == data feature.

Lisp: (f (g x))
Python: ['f', ['g', ['x']]]

https://aljamal.substack.com/p/homoiconic-python

#ProgrammingLanguage #compsci #ComputerScience #LispLang
Author Public Key
npub18nw47ceaz3mxvnhppmnl8gt7dd23l8q07xla3xk87k7x7jvuvghs7hnrq2