From e836c4b9e78cc3892cdebf8126cb650f1b91ed37 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 8 Jan 2026 22:28:37 +0800 Subject: Tighten prose. --- _log/bumblebee.md | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) (limited to '_log/bumblebee.md') 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. -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 Scintilla.NET + - 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. -- cgit v1.2.3