Design document and notes

This commit is contained in:
Daniel Ziltener 2022-05-19 15:16:14 +02:00
parent 0ae23e2673
commit 0e90012717

20
design.org Normal file
View file

@ -0,0 +1,20 @@
#+title: Design
* Flow Control
** Normal stepthrough
Default mode. The commands get executed in order, with the next receiving the results of the former.
** Alternatives
All blocks get executed, the result of the first succeeding one gets taken.
* Assumptions about websites that turned out false
** Separate areas are clearly recognizable in the DOM hierarchy
Instead, sometimes a document has to be "split" at certain elements. Alternatively, virtual blocks have to be extracted where certain elements are contained.
** In JSON, keys are static
Sometimes, things happen like that the keys are city names.
* Implementation discoveries
** Code interpretation
Smalltalk code can be interpreted to create a Block. Example:
#+begin_src smalltalk
increaser := Object readFrom: '[ :anObject | anObject + 1 ]'.
increaser value: 1. "=> 2"
#+end_src