Skip to content

Commit 87c32af

Browse files
committed
A little more work on symbology draft
1 parent a4b1619 commit 87c32af

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

_drafts/2025-02-14-symbolic-of-what.md

+30-5
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,43 @@ An exercise in symbology.
1010

1111
## Introduction
1212

13-
I remember trying to figure out symbols when I first learned Lisp. My predecessor langguage (Fortran, Basic, Pascal) had not prepared me. (You might guess from that list that my first encounter was some years ago.) I was in good shape with symbols across multiple dialects of Lisp over the years, though certainly there was non-trivial variation.
13+
I remember trying to figure out symbols when I first learned Lisp.
14+
My predecessor languages (Fortran, Basic, Pascal) had not prepared me.
15+
(You might guess from that list that my first encounter was some years ago.)
16+
I was in good shape with symbols across multiple dialects of Lisp over the years,
17+
though certainly there was non-trivial variation.
1418

15-
Clojure forced yet another re-calibration. And my recent work on ClojureCLR.Next -- namespaces, the Lisp reader, and the parsing phase of the compiler -- has forced me to really dig in on symbols.
19+
Clojure forced yet another re-calibration.
20+
Symbols are a simple construct, but are given meaning by a complex web of interactions
21+
among the Lisp reader, namespaces, the Clojure compiler and the Clojure runtime.
22+
I hope to document here where meaning arises.
23+
24+
25+
26+
## Background
27+
28+
One should go the documentation.
29+
30+
- [Learn Clojure -Syntax: Symbols and idents](https://www.clojure.org/guides/learn/syntax#_symbols_and_idents)
31+
- [ The Reader: Reader forms: Symbols](https://clojure.org/reference/reader#_symbols)
32+
- [Data Structures - Symbols](https://clojure.org/reference/data_structures#Symbols)
33+
34+
35+
Apparently that is not enough for some.
1636

1737
- [The Relationship Between Clojure Functions, Symbols, Vars, and Namespaces](https://8thlight.com/insights/the-relationship-between-clojure-functions-symbols-vars-and-namespaces) by Aaron Lahey. (Kudos for the Oxford comma.)
1838
- [What are symbols in Clojure?](https://www.reddit.com/r/Clojure/comments/j3b5hc/what_are_symbols_in_clojure/?rdt=63497)
1939
- [Explain Clojure Symbols](https://stackoverflow.com/questions/1175920/explain-clojure-symbols)
2040

21-
https://www.clojure.org/guides/learn/syntax#_symbols_and_idents
41+
The first article is especially releveant.
42+
43+
So much for preparation.
44+
45+
# Naked symbolism
46+
47+
The `Symbol` data structure is relatively simple -- it has an optional namespace and a name, both strings.
48+
2249

23-
https://clojure.org/reference/reader#_symbols
2450

25-
https://clojure.org/reference/data_structures#Symbols
2651

2752

0 commit comments

Comments
 (0)