Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allow source code to run, but not show it
#7
(02-12-2023, 04:42 PM)dbox Wrote: So, it is correct that QBJS compiles the BASIC code to Javascript.  I haven’t really made any effort at this point to obfuscate or minimize the generated JS.  (I was actually trying to make it fairly readable for easier troubleshooting, ha!). However, there are many very good libraries for Javascript obfuscation.  I could certainly incorporate that into the Export functionality if there was enough interest.

I think that would be an awesome (super-convenient) option.

I can imagine scenarios in which we want the javascript easy to read, and scenarios in which we want to minimise the code (for compacting big programs or for obfuscating, or for both goals.)
Reply


Messages In This Thread
RE: Allow source code to run, but not show it - by CharlieJV - 02-12-2023, 04:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Just a tiny and fun bit of code CharlieJV 6 1,653 06-15-2023, 02:54 PM
Last Post: CharlieJV
  BAM How To: Create, Run, Save, and Share your BASIC programs CharlieJV 2 868 05-23-2023, 12:40 PM
Last Post: CharlieJV
  BAM: download it, run it locally, store it anywhere CharlieJV 10 1,691 05-23-2023, 02:28 AM
Last Post: CharlieJV
  The best kind of documentation let's you try your own code, right there CharlieJV 2 742 03-25-2023, 06:07 PM
Last Post: CharlieJV
  The Hypotrochoid-ISH Show CharlieJV 6 1,210 03-04-2023, 05:04 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)