Post Reply 
SysRPL/assembly syntax high lighting in VSCode
08-16-2022, 09:04 AM
Post: #1
SysRPL/assembly syntax high lighting in VSCode
Hi!

Here's a package for VSCode that can be used to provide syntax highlighting for SysRPL and assembly (SASM format):

https://gist.github.com/dlidstrom/2d16f2...77b145f80e

It is a proof of concept and can certainly be more polished, but at least it works and is already usable. To use it, create these folders:

%USERPROFILE%\.vscode\extensions\rpl
%USERPROFILE%\.vscode\extensions\rpl\Syntaxes

Now put the rpl.plist in the Syntaxes folder and package.json in the top folder. Restart VSCode. It should now recognize .a, .s, .srpl, and .rpl as SysRPL files.

If you want to improve on this or do it from scratch, I recommend using Iro: https://eeyo.io/iro/

Here's a screenshot of how it will look (from the wonderfully documented Diamonds source, by Doug Cannon):

[Image: rpl.png]

2xHP48GX, HP 50g, two Retrotronik ram cards, DM42
/Daniel Lidström
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)