summaryrefslogtreecommitdiff
path: root/.trash/books/sicp-paused
diff options
context:
space:
mode:
Diffstat (limited to '.trash/books/sicp-paused')
-rw-r--r--.trash/books/sicp-paused/about.md3
-rw-r--r--.trash/books/sicp-paused/chapter-1.md22
-rw-r--r--.trash/books/sicp-paused/computational-processes.md1
3 files changed, 26 insertions, 0 deletions
diff --git a/.trash/books/sicp-paused/about.md b/.trash/books/sicp-paused/about.md
new file mode 100644
index 0000000..9b00c84
--- /dev/null
+++ b/.trash/books/sicp-paused/about.md
@@ -0,0 +1,3 @@
+book: https://sarabander.github.io/sicp/html/index.xhtml
+* copy it to local git
+video lectures: https://archive.org/details/ucberkeley-webcast-PL3E89002AA9B9879E?sort=titleSorter \ No newline at end of file
diff --git a/.trash/books/sicp-paused/chapter-1.md b/.trash/books/sicp-paused/chapter-1.md
new file mode 100644
index 0000000..0bf25d9
--- /dev/null
+++ b/.trash/books/sicp-paused/chapter-1.md
@@ -0,0 +1,22 @@
+Every powerful programming language should have the following three things:
+* Primitive data types and procedures
+* Means to create compound elements from primitive ones
+* Means to create abstractions; compound elements are named and can be manipulated
+
+Primitives are elementary particles of programming languages.
+Primitive data are booleans, integer numbers, floating point numbers and characters (which are encoded as integers).
+Primitive procedures operate on primitive data: + * / etc.
+
+Expression: anything that has a result.
+Combination: list of expressions wrapped (delimited) by parenthesis
+ (+ 1 2)
+ ^ --> operands -> evaluate -> arguments
+ operator |
+ ^ |
+ procedure <-----------------------<
+
+prefix notation:
+ - unambigously specify any nr of operands
+ - arbritary nesting (+ 1 (+ 1 (+ 1 2))) is easy
+
+bookmark: https://sarabander.github.io/sicp/html/1_002e1.xhtml#g_t1_002e1 1.1.2
diff --git a/.trash/books/sicp-paused/computational-processes.md b/.trash/books/sicp-paused/computational-processes.md
new file mode 100644
index 0000000..e4af79b
--- /dev/null
+++ b/.trash/books/sicp-paused/computational-processes.md
@@ -0,0 +1 @@
+A computational process is an abstraction over things that occur within a computer and operate on an abstraction called data. Programs are used to orchestrate computational processes using symbols. \ No newline at end of file