Devlog 3
“Don’t spend 12 hours coding a day or you’ll end up insane like me” Quote of the day
Overview of today
Fixed a couple memory leaks today. The math functions were holding onto heap space longer than they needed to (I have no idea how but I believe it was due to some of the preset math variables I created like PI had wrong values) , so I cleaned that up. Also tightened the JS output pipeline, since the whole point is you write in plain English, the generated code needs to be locked down on both security and performance.
HTTP connections are in now. Requests looks like this:
make request <request name to store response> (get/post) "https://apiendpointhere"
Then you review it with:
review request <request name> (you can either make a if statement or if else statement here or you can store the response to a variable)
Networking still has some edge cases I want to handle before I call it done, but I’d say the JS transpiler is sitting at about 75% ready to ship.
Future Plans
Once the JS version is shipped, I’ll move on to the C and C++ transpilers. The dictionary is already mapped out, so the port should be fast. Python is on the list too, but I want C/C++ shipped first so I can demo it running on ESP32s and Arduinos.
Opensourcing
Planning to open source after this JS release. Last time I initialized a git repo it completely split my projects and times, so I’m holding off until the codebase is stable.
Closing
That’s it for now. I’m home all day so I’ll keep working on this. No screenshots to share at the moment, so here’s a cat picture instead.
Comments 1
the cat picture is the best part
Sign in to join the conversation.