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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.