From e836c4b9e78cc3892cdebf8126cb650f1b91ed37 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Thu, 8 Jan 2026 22:28:37 +0800 Subject: Tighten prose. --- _site/log/bumblebee/index.html | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to '_site/log/bumblebee/index.html') diff --git a/_site/log/bumblebee/index.html b/_site/log/bumblebee/index.html index 5f5c3b0..984187b 100644 --- a/_site/log/bumblebee/index.html +++ b/_site/log/bumblebee/index.html @@ -40,39 +40,31 @@

BUMBLEBEE: WEB SCRIPT SYNTHESIZER

02 APRIL 2025

-

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. -
  3. Transformation: Event → Token → Instruction Table → String.
  4. -
  5. Optimization: Parallel event/text lists processing; rendered -in Scintilla.NET
  6. -
+
    +
  • 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