08-16-2022, 09:04 AM
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):
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):