Thanks for the vote of support! I dream of the day when we get a proper SAS IDE!!!! This post is because I'm trying to avoid the task of going through the sas doc to get all the keywords. I think though it will be the only way to get them 😞
The parser extends Syntax Highlighter written by Alex Gorbatchev. The highlighter can be found here.
Once I have a suitable release you can find my parser at my google code site here. It will contain the language file and a css file with the colors. I also aim to release a code viewer (written in .NET) that allows you to view code stored on the file system within a browser.
I believe SAS Studio got syntax highlighting and colouring implemented and as this is a Web client you could search through the installation folders and see if there is some XSL with what you're after.
Hello was a list found? I want such a list of SAS Keywords to parse SAS programs for anything that is not a keyword. This is just one approach I have for validating a few small programs. Basically this would tell me any variables needed by the programs or output by the programs.
Vim has a syntax file for SAS. You can find it here :
Thanks I can extract the list from the vim script. Personally I am not looking for highlighting.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.