summaryrefslogtreecommitdiffstats
path: root/_log
diff options
context:
space:
mode:
Diffstat (limited to '_log')
-rw-r--r--_log/bumblebee.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/_log/bumblebee.md b/_log/bumblebee.md
index 6ef46b3..57dc49d 100644
--- a/_log/bumblebee.md
+++ b/_log/bumblebee.md
@@ -6,27 +6,27 @@ project: true
thumbnail: thumb_sm.png
---
-Browser session-to-code conversion. For work. Pre-LLM.
+For work. Browser session-to-code conversion. Pre-LLM.
<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
<source src="bee.mp4" type="video/mp4">
</video>
-Quality of scripts are pitiful.
+Script quality pitiful. Created tool to generate them by analyzing browser events.
-Created tool to generate them real-time (as the user browses the web).
+Stack: C# WinForms host, WebView2 browser, Scintilla.NET editor.
-Architecture: C# WinForms host, embedded WebView2 browser, Scintilla.NET
-editor.
+Data structure: twin lists--one for events, one for text.
Implementation:
- Interception: Injected JS hooks + internal browser events.
- Transformation: Event → Token → Instruction table → String.
- - Optimization: Parallel event/text lists.
- - Two-way binding of code to Scintilla editor.
+ - Optimization: Toss unnecessary clicks, squash input events.
+ - Rendering: Two-way binding between text and Scintilla editor.
-NOTE: Abstract syntax trees.
+NOTE: Lists desync on manual edits; blocks optimizer. Replace lists
+with ASTs.
Script generation: minutes/hours → seconds.