summaryrefslogtreecommitdiffstats
path: root/_log/bumblebee.md
diff options
context:
space:
mode:
Diffstat (limited to '_log/bumblebee.md')
-rw-r--r--_log/bumblebee.md29
1 files changed, 11 insertions, 18 deletions
diff --git a/_log/bumblebee.md b/_log/bumblebee.md
index 25f08e4..6ef46b3 100644
--- a/_log/bumblebee.md
+++ b/_log/bumblebee.md
@@ -6,34 +6,27 @@ project: true
thumbnail: thumb_sm.png
---
-Work project. Browser session-to-code conversion.
+Browser session-to-code conversion. For work. Pre-LLM.
<video style="max-width:100%; margin-bottom: 10px" controls="" poster="poster.png">
<source src="bee.mp4" type="video/mp4">
</video>
-Architecture: C# WinForms host, embedded browser, code editor. Browser
-extension rejected due to security policy and shallow event control.
+Quality of scripts are pitiful.
-Tool evaluation:
+Created tool to generate them real-time (as the user browses the web).
- - CefSharp: Discarded. API lacked elegance.
- - WebView2: Selected. Better WinForms integration. Hard dependency on
- Microsoft Edge--acceptable for corporate Windows environments.
+Architecture: C# WinForms host, embedded WebView2 browser, Scintilla.NET
+editor.
Implementation:
- 1. Interception: Injected JS hooks; internal browser event monitoring
- (pop-ups/downloads).
- 2. Transformation: Event → Token → Instruction Table → String.
- 3. Optimization: Parallel event/text lists processing; rendered
- in <a href="https://github.com/desjarlais/Scintilla.NET" class="external"
- target="_blank" rel="noopener noreferrer">Scintilla.NET</a>
+ - 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.
-Bug: Manual mid-session overrides desync code/event lists, bypassing optimizer.
-Linear lists inadequate for state synchronization. Need to rethink data
-structures; look to compiler Abstract Syntax Trees (AST) for intermediate
-representation.
+NOTE: Abstract syntax trees.
-Verdict: Serves its purpose.
+Script generation: minutes/hours → seconds.