HP Forums

Full Version: SysRPL/assembly syntax high lighting in VSCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
Reference URL's