1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-15 13:33:12 +02:00
chroma/lexers/testdata/igor.actual
matthias 8eb6aa7fb6 Add Language Igor (#276)
* 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.
2019-09-23 09:35:48 +10:00

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