5 ideas: 1) leave it as is and don't have a live bit count, 2) create a separate js port for the online interpreter, 3) use pyodide, 4) transpile the python to js/wasm somehow or 5) rewrite in scala, use scala.js for the website, terminal output for offline
Thanks chat for sending the edit as a different message
Option 1 isn't satisfying and isn't good customer experience. Option 2 opens a gap for disparities between versions. Option 3 takes a while to load and is kinda overkill in a sort of a fashion
Also, 2 things I've been thinking about: a) there should be some sort of announcement to not go through and record old vyxal answers unless completely necessary and b) the website needs to be able to have different versions of the corpus data available, just in case we ever update the corpus
So like you can use different corpus versions depending on when you answered
No clue how that'll be implemented
Might be easier with Scala.js
But then that requires Java to be installed
Which isn't as nice as option 4 which just uses all python
I think Transcrypt might be the way to go if I can get it to work
Huh, looks like Transcrypt doesn't have python standard libraries though
@Jacob If it's a large number, a string of lowercase letters and spaces, or a string containing english words use øC, øc, or øD respectively to find the compressed form and then copy paste it into your code
for example 3141592øC outputs »1P⁺» so use that instead of 3141592