mirror of
https://github.com/alecthomas/chroma.git
synced 2025-02-15 13:33:12 +02:00
* Add Language Igor Igor is a scientific language developed by [WaveMetrics](https://www.wavemetrics.com/). This lexer was translated directly from the [pygments lexer](http://pygments.org/docs/lexers/#lexers-for-igor-pro) without any changes. The pygments lexer is very basic but working properly for most of the cases.
25 lines
315 B
Plaintext
25 lines
315 B
Plaintext
#pragma rtGlobals=3
|
|
|
|
#include "someFile"
|
|
|
|
StrConstant myConstString="abcd"
|
|
// some comment
|
|
Constant myConst=123
|
|
|
|
static Structure struct1
|
|
string str
|
|
variable var
|
|
EndStructure
|
|
|
|
Function/WAVE myFunction(var)
|
|
Variable var
|
|
|
|
Make/N=(var) test
|
|
|
|
return test
|
|
End
|
|
|
|
#ifdef NOT_DEFINED
|
|
// conditional compilation
|
|
#endif
|