Website Summary Files Commits Branches @commit @diff @stats
path: root / website / content / slides
diff options
context:
space:
mode:
Commit30d69a4cc144db28d11d665f5879fd4d95031517 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-03 18:00:16 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-03 18:00:16 +0200
Files5057b347d93ed580578a56afff3894be3c97a468 /website/content/slides
IPL-30d69a4cc144db28d11d665f5879fd4d95031517.tar
IPL-30d69a4cc144db28d11d665f5879fd4d95031517.tar.gz
IPL-30d69a4cc144db28d11d665f5879fd4d95031517.zip
Parentb4a6c3d467682d9e0bb73637b9b80a2641a62970 (diff)
Parent032e5676d23cf801e34c530731ca6a57e0b7c2f4 (diff)
Merge branch 'feature/bison_demo'
2 files changed, 5 insertions, 1 deletions
-rw-r--r--website/content/slides/03_parsing/_index.md2
-rw-r--r--website/content/slides/05_vm_intro/_index.md4
diff --git a/website/content/slides/03_parsing/_index.md b/website/content/slides/03_parsing/_index.md
index 8d7f3ed..7fccdcc 100644
--- a/website/content/slides/03_parsing/_index.md
+++ b/website/content/slides/03_parsing/_index.md
@@ -523,5 +523,7 @@ Extend the xxx2html tool to:
cyclomatic complexity ranging from light green to light read.
3. Produce html where control structures can be collapsed.
+Do only one of these.
+
---
# ?
diff --git a/website/content/slides/05_vm_intro/_index.md b/website/content/slides/05_vm_intro/_index.md
index 5ee5e73..2879fa1 100644
--- a/website/content/slides/05_vm_intro/_index.md
+++ b/website/content/slides/05_vm_intro/_index.md
@@ -27,6 +27,7 @@ outputs: ["Reveal"]
- Implement a computational model
- Just like real machines AKA computers
- run on top of the real machine
+- you can have a hardware implementation of VM
---
@@ -282,6 +283,7 @@ Instructions will be between 1 and 25 bytes.
- 6 bits for OpCode - we have up to 64 opcodes
- 2 bits - n - length of the arguments
- 2^n bytes per agrument
+ - up to 3 arguments per instruction
---
### Instruction set
@@ -297,7 +299,7 @@ https://docs.google.com/spreadsheets/d/1Q90x60BF-7T0jqPngScsjlaGBXXHRx4tszwCTSRY
- 0 - count of arguments
- -1 - first argument
- -n - n-th argument
-4. caller calls `ret reg`, which removes all locals and arguments and leaves
+4. callee calls `ret reg`, which removes all locals and arguments and leaves
`reg` on top of the stack
5. caller pops the result from the stack