Colorful BASIC code for the Atom editor. Visit the homepage for the language-cbmbasic package here, or download from directly within Atom and get started on your next text adventure game within minutes.
Isn't it about time we had modern language support for the classic programming language of the Commodore 64? Obviously, the lack of this feature in most text editors today has been the principal obstacle to Gen-X programmers revisiting their roots. You are now one step further along on your inevitable journey back to where it all began:
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
I made this syntax highlighter package while working on an implementation of mal LISP in C-64 BASIC using the cbmbasic interpreter. I got tired of the sterility of plain text. I don't know how I ever tolerated programming this way on a low resolution TV screen. I formally withdraw all my subsequent complaints about anything whatsoever.
Contributions welcome if you seriously think this is worth extending any further!
Copyright (c) 2016, Steven J. Syrek firstname.lastname@example.org
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.