diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-08 22:28:37 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-01-08 22:28:37 +0800 |
| commit | e836c4b9e78cc3892cdebf8126cb650f1b91ed37 (patch) | |
| tree | 4e52155aef0105cc9b888a42b3e760455a2bcb36 /_log/bumblebee.md | |
| parent | 57ff09d2eefefa2462a2af0175e3e8164c7bc828 (diff) | |
| download | www-e836c4b9e78cc3892cdebf8126cb650f1b91ed37.tar.gz | |
Tighten prose.
Diffstat (limited to '_log/bumblebee.md')
| -rw-r--r-- | _log/bumblebee.md | 29 |
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. |
