New community dev tool uploaded: XCI: eXtremely Compact Interpreter

All aspects of programming on the Commander X16.
SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »


Very cool! Good luck with your game!

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »


If you are interested in using XCI to make a game, I am working on an Atom plugin that will provide syntax highlighting. I have keywords and comments working so far:

https://github.com/SlithyMatt/language-xci

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »


The language-xci package is now published:

https://atom.io/packages/language-xci

You can simply install the package from within Atom by searching for "xci". It's the only thing that comes up!

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »


A huge shout-out to @Jestin for making this vim plugin for XCI: https://github.com/jestin

Not only will it do syntax highlighting like my Atom package, it will also do coloring of pixel-nibbles in sprite and tile hex files:

unknown.png

I never expected to create a language for 8-bit development in the 21st century, much less have people start developing tools for it! 

User avatar
Jestin
Posts: 85
Joined: Sat Jun 27, 2020 10:14 pm
Contact:

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by Jestin »


It was a fun exercise.  If I have time, I'd like to expand it in two ways:


  1. Add code to do a "best guess" approximation of colors from the palette.  Right now it's just my own fiddling with terminal colors


  2. Add a command to set the colors from one of XCI's palette files


Full link:  https://github.com/jestin/vim-xci

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »



3 hours ago, Jestin said:





  1.  


  2. Add a command to set the colors from one of XCI's palette files




Easy enough to do. Just have to search for an XCI File with a "palette" key and then you have the path to the palette hex file, and you will have the 12 bit color values for the primary palette offset. 

User avatar
Jestin
Posts: 85
Joined: Sat Jun 27, 2020 10:14 pm
Contact:

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by Jestin »


The first is what's really required to do the second.  Other than gVim, vim can only specify codes for terminal colors, so your palette within vim is completely dependent on the terminal it's running in.  There are some vim plugins out there (mostly syntax highlighters that attempt to do the same thing with CSS hex codes) that do a best guess approximation for the terminal.  When looking into it a few weeks ago, this seemed like the best option.  I just haven't had the time to dive into it yet.

Starsickle
Posts: 81
Joined: Mon Aug 31, 2020 12:00 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by Starsickle »


Really neat - Definitely will keep my eye on this. Please continue supporting it with updates, tutorials, and workflow videos and documents.

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »



40 minutes ago, Starsickle said:




Really neat - Definitely will keep my eye on this. Please continue supporting it with updates, tutorials, and workflow videos and documents.



Oh, I will! Especially since my first commercial game for the X16 is being built with XCI: 


 

SlithyMatt
Posts: 913
Joined: Tue Apr 28, 2020 2:45 am

New community dev tool uploaded: XCI: eXtremely Compact Interpreter

Post by SlithyMatt »


Big news for XCI and the Commander X16!





 

Post Reply