Home Download Buy Blog Forum Support

Looking for a BASIC language bundle/equivalent

Looking for a BASIC language bundle/equivalent

Postby actraiser on Mon Oct 08, 2012 12:49 pm

Hi, I am using Sublime 2 for cross-development to retro computers like the C64. While I was able to find a good bundle to highlight 6502-Assembler I was not lucky with finding something for the BASIC Interpreter. It's also is hard to google for a "Basic" bundle so maybe someone of the Pro-Users do know if there is something to highlight BASIC-programs and ideally can handle numeration, e.g.

10 PRINT CHR$(147)
20 FOR I=0 TO 1023
30 POKE 1024+I, 3
40 NEXT I
50 PRINT CHR$(147)
60 END

I guess since there are so few keywords, any BASIC bundle eventually existing will work fine with C64 BASIC commands.

Best
-act
actraiser
 
Posts: 1
Joined: Mon Oct 08, 2012 12:42 pm

Re: Looking for a BASIC language bundle/equivalent

Postby agibsonsw on Tue Oct 09, 2012 11:03 pm

I would have thought there was a BASIC bundle available somewhere. Perhaps try the terms GW-BASIC, QBASIC, PC-BASIC (showing my age :lol: ).

If not, you could try copying and modifying the Batch File syntax file - it's the nearest equivalent, and quite a small file. There is limited formal structure to it, so it's more or less a question of replacing keywords.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: Looking for a BASIC language bundle/equivalent

Postby MystickPhoenix on Fri Oct 12, 2012 1:44 pm

You might also try the VBScript plugin (or try modifying it). It's in package manager or here: https://github.com/SublimeText/VBScript
MystickPhoenix
 
Posts: 26
Joined: Tue Jan 24, 2012 4:36 pm


Return to General Discussion

Who is online

Users browsing this forum: Fezt, Yahoo [Bot] and 32 guests