Skip to content

Commit

Permalink
Port diagrams to drawio. Update with eval_ast/macro changes.
Browse files Browse the repository at this point in the history
This incorporates various updates to the diagrams.
* The largest change is the incorporation of the new process where
  eval_ast is integrated into eval and the macroexpand function and has
  been incorporated directly into the eval TCO loop and no longer
  requires a separate function or special form. For the most part, this
  change was discussed in #587 and
  implemented in #592. Instead of
  a special form, there is now a "apply macro" box in the eval block.
  The "apply macro" box has a TCO line (but not env creation line unlike
  the "apply" box.
* Change the "eval_ast" sub-block to "evaluate" and convert the list of
  evaluated items to individual blocks. Add a "list" block and connect
  this to the "apply" block (rather than connecting eval_ast to eval).
* Change the "symbol lookup" arrow to point to the "symbol" box in the
  "evaluate" block instead of pointing to the "evaluate" block.
* Update the "create env" arrows to point to the child env box instead
  of the root/REPL env box.
* Add try/catch TCO line.
* Remove the `or` macro and `gensym` function from stepA since this has
  been dropped for a while.
  • Loading branch information
kanaka committed Aug 13, 2024
1 parent 4db3782 commit 5463dfa
Show file tree
Hide file tree
Showing 25 changed files with 1,315 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ that are new for that step are highlighted in red.
Here is the final architecture once [step A](process/guide.md#stepA)
is complete:

![stepA_mal architecture](process/stepA_mal.png)
![stepA_mal architecture](process/steps.png)

If you are interested in creating a mal implementation (or just
interested in using mal for something) you are welcome to to join our
Expand Down
1 change: 0 additions & 1 deletion process/step0_repl.gliffy

This file was deleted.

Binary file modified process/step0_repl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step1_read_print.gliffy

This file was deleted.

Binary file modified process/step1_read_print.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step2_eval.gliffy

This file was deleted.

Binary file modified process/step2_eval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step3_env.gliffy

This file was deleted.

Binary file modified process/step3_env.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step4_if_fn_do.gliffy

This file was deleted.

Binary file modified process/step4_if_fn_do.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step5_tco.gliffy

This file was deleted.

Binary file modified process/step5_tco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step6_file.gliffy

This file was deleted.

Binary file modified process/step6_file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step7_quote.gliffy

This file was deleted.

Binary file modified process/step7_quote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step8_macros.gliffy

This file was deleted.

Binary file modified process/step8_macros.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/step9_try.gliffy

This file was deleted.

Binary file modified process/step9_try.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion process/stepA_mal.gliffy

This file was deleted.

Binary file modified process/stepA_mal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,314 changes: 1,314 additions & 0 deletions process/steps.drawio

Large diffs are not rendered by default.

Binary file added process/steps.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5463dfa

Please sign in to comment.