QB64 Phoenix Edition
Code conversion to HTML, CSS, PHP, or Javascript - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2)
+--- Thread: Code conversion to HTML, CSS, PHP, or Javascript (/showthread.php?tid=318)



Code conversion to HTML, CSS, PHP, or Javascript - Michelle - 05-03-2022

So, I'm back and in search of wisdom from all of your wealth of knowledge. I have a program I wrote in QB64, and it works fine. Apparently, there is thinking that it would be nice to integrate it into a website that uses WordPress. And I know squat about WordPress. What I do know says that WordPress sites use HTML, CSS, PHP, or Javascript. Neither of which I know anything about. Is there any outside chance, that there is some sort of conversion process to take QB64 code and turn it into one of those four? Even if it is from the source code? I'm thinking that would probably be what is wanted in the end since it could be maintained within the WordPress site. Probably not, but I figured I'd ask the experts. Thanks, Michelle


RE: Code conversion to HTML, CSS, PHP, or Javascript - Coolman - 05-03-2022

in the old forum of qb64, there is someone who developed a program of conversion of qb64 towards the javascript. I do not remember the name but a track to be followed perhaps...


RE: Code conversion to HTML, CSS, PHP, or Javascript - SMcNeill - 05-03-2022

(05-03-2022, 03:20 PM)Coolman Wrote: in the old forum of qb64, there is someone who developed a program of conversion of qb64 towards the javascript. I do not remember the name but a track to be followed perhaps...

You're thinking of QBJS (QB Javascript).  boxgaming/qbjs: QBasic for the web (github.com)


RE: Code conversion to HTML, CSS, PHP, or Javascript - Pete - 05-03-2022

Also, see the post dbox made here: https://qb64phoenix.com/forum/showthread.php?tid=34

Good luck,

Pete


RE: Code conversion to HTML, CSS, PHP, or Javascript - Coolman - 05-03-2022

yes. i found the project impressive. thanks for specifying the link. i could find the demo online here:

https://boxgm.itch.io/qbjs


RE: Code conversion to HTML, CSS, PHP, or Javascript - Coolman - 05-03-2022

Looks like we posted at the same time Pete. It's good that this project is coming to this forum


RE: Code conversion to HTML, CSS, PHP, or Javascript - Coolman - 05-03-2022

Here is an equivalent for yabasic even more impressive:

http://www.mrdictionary.net/yabasic/


RE: Code conversion to HTML, CSS, PHP, or Javascript - Pete - 05-03-2022

(05-03-2022, 04:00 PM)Coolman Wrote: Here is an equivalent for yabasic even more impressive:

http://www.mrdictionary.net/yabasic/

Brings back memories. I can't remember when I first saw that project, but it's been around for awhile I believe. Nice to see it's still active.

Pete


RE: Code conversion to HTML, CSS, PHP, or Javascript - Pete - 05-03-2022

@Michelle

Besides the QB64 to JavaScript conversion project, you can use this to help write the HTML / CSS code to make the webpage:

http://www.nvu.com/

It's a what's you see is what you get editor. Very easy to use to create webpages.

Pete


RE: Code conversion to HTML, CSS, PHP, or Javascript - Michelle - 05-03-2022

Well, thank you all for your very quick replies. The Javascript converter looks very promising. Thanks, Michelle