June 17, 2025
Started working on it, originally thought I'd do it in Java but then changed to C#. Also named it SharpLox. Currently made lexer and working on parser.
An interpreted programming language, based on the Crafting Interpreters book.
Added more advanced formulas (spreadsheet-like), and debugged that... (and made a page to test these). Also updated extension popup design to match the testing page.
Added a demo page that doesn't need extension functionality to use.
After a bit more debugging I got it to work. Started replacing the very simple expression evaluation code (mostly just there for testing) to the actual spreadsheet-style formula evaluator (like only evaluating if starting with equal sign, multi-operation expressions, etc.).
Also added a feature to make it so that when the user refocuses the input, it restores the original expression. Currently I'm storing the expression directly as an attribute in the element, but I think that could cause problems later.
Spend a lot of time debugging the expression evaluation... browser extensions are annoying to debug. Also made a test page to help with that, which I'll probably turn into a standalone demo page later.
Added the basic functionality, and started working on the extension popup. It lets you add variables. Started working on the textbox calculations part as well but I want to make it have formulas like spreadsheet cells so that will probably take a while to implement.
A browser extension that turns any text input into a spreadsheet-like calculator. (Demo page does NOT require installing an extension!) Supports functions like SIN, IF, PI, STDEV, and more. Also provides a "variable" feature in the extension popup to store and use variables in calculations (and when changed, updates all calculations using that variable). Extension download: https://github.com/arjver/textbox-calculator/raw/refs/heads/main/dist.zip
This was widely regarded as a great move by everyone.