so i been working on a new library and board manager there still some bugs and quirk but it mostly useable also i just added the app icon also tbh i spend more than just 3h it was like 5h cuz i can’t figure out what wrong with the library search rpc turn out the response is just too big so the response limit got cut off and the grpc error code isn’t just any helpful it just say operation cancel so yea that was a pain
so i been working on a swiftui arduino ide for a while and last month i am really busy (atleast i think so to myself) so i didn’t really do anything after the last devlog but now that stardance is ending (sadd) i feel like it a waste if am not trying to ship it so i been trying to refactor and polish the project to a small mvp that is stable enough that i can ship my goal for the ship is just you can add additional board you can install uninstall upgrade downgrade library and board and compile flash and maybe serial monitor if i had time. but the video you see below might look weird the last devlog there a lot more stuff so i been refactoring a lot of the ui code and backend code so right now the backend logic is ready just need the ui that i will try and finish tmr and hopefully we can ship it soon
so while working on my personal sveltekit project i wanted a devtools that let me point at anything go to the source file or let me fix thing like text and stuff or let me send a task to ai agent so here is the foundation for that kitlens it a vite plugin that you can just install in 1 line and that it will inject a toolbar to the page and just click on any element you can go to the source file it uses the process.cwd to get full path.
so before all zolt app are written using .lua file and write to the response using echo which led to kind of bad dx so after the last ship there were some review on some kind of tsx like language so i been working on that and here zolt template build on top of go html/template with a lua block it will become a default way of writing app using zolt while .lua will be use for shared module and library
just deploy a new version of documentation site and the go rewrite is complete!
from the last update i also added
after the go rewrite i have now implement 3 core function back but with some changes from zig version so when the go merge it will be a breaking changes
i also implement require for loading module and bring back hol now as htmlkit
so yea looking forward to merge the go branch into main in a few days but it will 100% be a breaking changes not that who cared anyways except me cuz am the only one using it and now i have to fix my code
when i first set out to make zolt i figure it will be a good place to learn zig i mean it such a small project just a simple http server that execute lua. but then i started using it myself and kept needing more feature but sadly even tho this project started as a way to learn zig. i just didn’t really click with it thus when implementing feature i kept having to relies a lot on codex.
so i started a new branch call experimental-go that contain a go rewrite of zoltd plan to be as much backward compatible as possible but not fully as zig zoltd use luau while go zoltd use gopher lua but otherwise i will try and implement all function in zig
even tho the project is being rewritten in go. the name will still remain zolt cuz golt sound worse
i just implement a lua runtime based on gopher-lua and implement 2 function echo() and print()
so the old codebase was a mess so i decided to reset and build sketchpad2 which is going better cuz instead of trying to figure out swift my self and shoot myself in the foot a thousand time i decide to let codex help me implement my idea instead and yea i will shelf learning swiftui myself later when i got more free time and not trying to make arduino editor to use in my project
so from the reset i change the app to be document app and decided against NavigationSplitView and just use a plain simple editor view toolbar
so from the last ship someone suggest that there should be a tsx like syntax that allow you to write html easier and i agree with that writing the whole layout in echo is a pain so i make hol a pretty simple html builder that ship with zolt so you can just import it anywhere without having to download it
and am looking forward to add more feature such as native support for each element instead of H(“h1”) you can just do h1(“Header”) something like that
so i just setup https://github.com/mchakravarty/CodeEditorView and now you can create new sketch edit and save it well it a really basic editor right now but am working on implementing thing like autocomplete and syntax highlight