![]() |
Vim syntax file for ZX BASIC - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: How-To & Tutorials (https://www.boriel.com/forum/forumdisplay.php?fid=13) +---- Thread: Vim syntax file for ZX BASIC (/showthread.php?tid=248) |
Vim syntax file for ZX BASIC - programandala.net - 06-17-2010 I use the Vim editor a lot; well, it's the only one I use ![]() Re: Vim syntax file for ZX BASIC - boriel - 06-17-2010 programandala.net Wrote:I use the Vim editor a lot; well, it's the only one I useSo do I :!: :!: :!: Thanks a lot! I always wanted to create a vim syntax file but don't know how to. :oops: Re: Vim syntax file for ZX BASIC - programandala.net - 06-17-2010 boriel Wrote:I always wanted to create a vim syntax file but don't know how to. :oops: This is the second one I've written. The first one was for Ace Forth. In both cases I copied the syntax file of the most similar language and then modified it. That's how I learned a bit the syntax of the syntax files ![]() Re: Vim syntax file for ZX BASIC - LCD - 06-18-2010 Just a idea: How about creating a ZXBC links page with useful "external links" to this syntax file, TommyGun or to this: <!-- m --><a class="postlink" href="http://www.speccy.org/wiki/programacion/basic">http://www.speccy.org/wiki/programacion/basic</a><!-- m --> without the need to search through the forum? Re: Vim syntax file for ZX BASIC - boriel - 06-18-2010 LCD Wrote:Just a idea: How about creating a ZXBC links page with useful "external links" to this syntax file, TommyGun or to this: <!-- m --><a class="postlink" href="http://www.speccy.org/wiki/programacion/basic">http://www.speccy.org/wiki/programacion/basic</a><!-- m --> without the need to search through the forum?This could be in the Wiki or even in this sub-forum, as a permanent sticked announce. Basically in the "Archives" Page, or creating a new entry in the main page (it's edition-locked, sorry). Basically, a list of *external resouces* on ZX Basic. What do you think? :roll: Re: Vim syntax file for ZX BASIC - LCD - 06-18-2010 boriel Wrote:This could be in the Wiki or even in this sub-forum, as a permanent sticked announce. Basically in the "Archives" Page, or creating a new entry in the main page (it's edition-locked, sorry). Basically, a list of *external resouces* on ZX Basic. What do you think? :roll:Basicaly a sticky forum thread in this sub-forum is fine too, I think. But "external ressources" on zxbc download page (<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive">http://www.boriel.com/wiki/en/index.php ... IC:Archive</a><!-- m -->) is my favourite. You can place it for example below Sample programs or below development version. Its because most people who want to download the compiler, want also to download some ressources for it like editor syntax file, IDE or examples. Re: Vim syntax file for ZX BASIC - programandala.net - 06-18-2010 LCD Wrote:But "external ressources" on zxbc download page (<!-- m --><a class="postlink" href="http://www.boriel.com/wiki/en/index.php/ZX_BASIC:Archive">http://www.boriel.com/wiki/en/index.php ... IC:Archive</a><!-- m -->) is my favourite. You can place it for example below Sample programs or below development version. Its because most people who want to download the compiler, want also to download some ressources for it like editor syntax file, IDE or examples. You're right, but I suggest a new page called "External resources" and keep "Download" for the ZX BASIC own files only . I think it's tidier, especially when the resources list grows and it has to be arranged into sections; another advantage is to keep people from tinkering with the ZX BASIC download links. And another important advantage is semantic: not all "external resources" are downloadable; in fact they will be external links to downloadable (or not) resources. Of course a link to "External resources" should be in the "Download" page. Re: Vim syntax file for ZX BASIC - boriel - 06-18-2010 I also prefer programandala's point of view. I will create a new "External Resources" page (this evening, today is Friday ![]() Re: Vim syntax file for ZX BASIC - LCD - 06-18-2010 boriel Wrote:I also prefer programandala's point of view. I will create a new "External Resources" page (this evening, today is FridayI agree with this. Re: Vim syntax file for ZX BASIC - programandala.net - 05-24-2014 I've improved and updated the Vim syntax file for ZX BASIC. The block comments are not highlighted, I still don't understand why. Beside, I've tried to highlight Z80 code inside ASM zones, following the Vim documentation. It works partially: the ASM END is not recognized, I don't know why. Anyway, without block comments and Z80, the current version is better than the 2010 version. Re: Vim syntax file for ZX BASIC - boriel - 05-26-2014 Hey, thanks :!: Will check it ASAP ;-) |