Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:17 22 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Syntax highlighting for MMBasic in VSCode w/ ChatGTP ...

Author Message
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 230
Posted: 08:24am 09 May 2025
Copy link to clipboard 
Print this post

My question:

Very quick reply, looks very nice, but then ...

After some back and forth, this is the result:
MMBasic-Syntax-0.1.3.zip
(Needs to be renamed to .vsix to be installed in VSCode).
Not very convincing yet, but at least can be installed and does some highlighting.

Best
Thomas
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 07:27pm 10 May 2025
Copy link to clipboard 
Print this post

Nice try for a shortcut in the brave new world :)

But ask it if users are using VSC for MMbasic, let's see what it says (thinks) and how long this answer will take :))
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1183
Posted: 08:15pm 10 May 2025
Copy link to clipboard 
Print this post

  dddns said  Nice try for a shortcut in the brave new world :)

But ask it if users are using VSC for MMbasic, let's see what it says (thinks) and how long this answer will take :))


Yeah, I really don't understand the big deal with VSC. Just makes everything clumsier for me.
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 230
Posted: 06:29am 11 May 2025
Copy link to clipboard 
Print this post

  PhenixRising said  
  dddns said  Nice try for a shortcut in the brave new world :)

But ask it if users are using VSC for MMbasic, let's see what it says (thinks) and how long this answer will take :))


Yeah, I really don't understand the big deal with VSC. Just makes everything clumsier for me.

For one project, I am using also C and MicroPython together with MMBasic; having the source code managed in one environment is more convenient, hence VSCode.

Anyway, the point here was rather that ChatGTP said, well sure, no problem, here you go, and then „admitted“ that it actually hadn’t done the work … just like a lazy human may try.

Best
Thomas
Edited 2025-05-11 16:30 by karlelch
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 230
Posted: 06:33am 11 May 2025
Copy link to clipboard 
Print this post

But to answer your first question, not many but still long answer 😉
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 12:18pm 11 May 2025
Copy link to clipboard 
Print this post

The answer is terrifying precise from my perspective.Thanks for checking that out.
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 12:24pm 11 May 2025
Copy link to clipboard 
Print this post

and many thanks for the very nice python tool for the pico. Do you think you could build a small GUI around it?

..preferable in QT? if I may please :)

May I encourage you to fork this and build a suite for the PicoMite?
Edited 2025-05-11 22:43 by dddns
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 12:59pm 11 May 2025
Copy link to clipboard 
Print this post

A dream would be together with @thwill
no interest to make it perfect?

wanted to say.. and perfect it
Edited 2025-05-11 23:12 by dddns
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 230
Posted: 04:20pm 18 May 2025
Copy link to clipboard 
Print this post

Hi dddns,

  dddns said  and many thanks for the very nice python tool for the pico.

Thanks

  dddns said  Do you think you could build a small GUI around it?
..preferable in QT? if I may please :)

That was not my plan - first, I don't want to/cannot compete with MMEdit, second, I was aiming for a command line tool  

  dddns said  May I encourage you to fork this and build a suite for the PicoMite?

I looked at Geany and I used it on the Rasberry Pi for as a Python IDE -- until the RPis got fast enough to supporting VSCode. Geany is nice but I am not sure how well it still maintained. Also, it would take some time to learn how to write a Geany plug-in, time that I unfortunately don't have right now -- sorry.

My workflow is to make large changes to MMBasic programs offline in VSCode, then transfer them to the PicoMite and debug/edit them directly in the terminal. I like the simplicity of the built-in editor. To make that transfer easy (and to allow for quick backups/restores), I created picom.

But if you want to try, please use my code.

Best
Thomas
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 04:26pm 18 May 2025
Copy link to clipboard 
Print this post

Thanks for answering, I don't want to follow up on this either. only for myself
 
karlelch

Senior Member

Joined: 30/10/2014
Location: Germany
Posts: 230
Posted: 04:43pm 18 May 2025
Copy link to clipboard 
Print this post

  dddns said  Thanks for answering, I don't want to follow up on this either. only for myself

Sorry for taking so long - I came back from a vacation just yesterday
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 04:46pm 18 May 2025
Copy link to clipboard 
Print this post

WB :)
 
pwillard
Guru

Joined: 07/06/2022
Location: United States
Posts: 310
Posted: 11:26am 19 May 2025
Copy link to clipboard 
Print this post

  Quote  Do you think you could build a small GUI around it?


Note:

You can ask ChatGPT to create a GUI for the code yourself, and you might be surprised at how well the chatbot does it.
 
dddns
Guru

Joined: 20/09/2024
Location: Germany
Posts: 359
Posted: 12:24pm 19 May 2025
Copy link to clipboard 
Print this post

I know. And I could sell my soul to it. I've seen an England based church community praying to Alexa.

And I could try doing it by myself, but I don't need it really.
But as the cli is not even compiling and running correct under Linux, what can I say..
Edited 2025-05-19 22:24 by dddns
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025