diff options
| author | Omar Rizwan <omar@omar.website> | 2024-05-16 17:55:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-16 17:55:10 +0000 |
| commit | 4c8cd3faf49ad3cda2760ff5cb172815f62f6215 (patch) | |
| tree | 8665d6bb691334acd1329bcac22b7f818520196c /docs/code.md | |
| parent | main: Ignore folk-printed-programs (diff) | |
| parent | folk.tcl: Fix realtime output for calibrate, remove error (diff) | |
| download | folk-4c8cd3faf49ad3cda2760ff5cb172815f62f6215.tar.gz folk-4c8cd3faf49ad3cda2760ff5cb172815f62f6215.zip | |
Merge pull request #139 from FolkComputer/osnr/cleanup
Cleanup (remove pi/ & play/ & laptop.tcl, mostly inline into virtual-programs/)
Diffstat (limited to 'docs/code.md')
| -rw-r--r-- | docs/code.md | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/docs/code.md b/docs/code.md index cffd554e..05bfc6de 100644 --- a/docs/code.md +++ b/docs/code.md @@ -3,35 +3,22 @@ 1. `main.tcl`: 1. Defines the Folk language 2. Initializes Evaluator (statements, matches, tries) - 3. Provides Peers functionality to synchronize between machines 4. Starts up the web-server 5. Starts up the entry (laptop or pi) -2. `/pi` - 1. Functionality to setup the pi entry, e.g. - 2. Handling the camera input (`/pi/Camera.tcl`) - 3. Writing to the projector output (`/pi/Display.tcl`) - 4. Setting up keyboard events (`/pi/Keyboard.tcl`) -3. `laptop.tcl` - 1. Virtual program editor, each program is a window - 2. Also manages sharing between laptop and pi via `shareNode` 4. `vendor` 1. Mostly Tcl libraries other people wrote (most or all are just copied from tcllib?). Except font.tcl, which is inlined C that other people wrote 5. `lib` - 1. Tcl/Folk libraries that we wrote, as well as the C FFI and the C trie + 1. Pure Tcl (and/or C) libraries that we wrote (need to be + explicitly sourced into Folk & don't use Folk constructs), + including the C FFI and the C trie 6. `virtual-programs` 1. Our own high-level Folk programs 2. They could be printed out... Perhaps, should be. -7. `play` - 1. TCL experiments 8. `calibrate.tcl` 1. Calibrates the `pi` projector and dumps a bunch of homography metadata to disk - 2. Maybe should go into `/pi`? (I think the only reason it doesn't - go in /pi is it's a runnable entry point and not a - library. Maybe it could go into /pi and then we'd have `make - calibrate` or something) 9. `replmain.tcl` 1. A front-end to the statements database, like `laptop` or `pi` 2. Should there just be a `/clients` directory, where all of the possible |
