diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 0626b98a..947e1b53 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -680,6 +680,11 @@ Kotlin: - .ktm - .kts +KRL: + type: programming + color: "#f5c800" + primary_extension: .krl + LLVM: primary_extension: .ll diff --git a/samples/KRL/helloworld.krl b/samples/KRL/helloworld.krl new file mode 100644 index 00000000..0daf048b --- /dev/null +++ b/samples/KRL/helloworld.krl @@ -0,0 +1,15 @@ +ruleset sample { + meta { + name "Hello World" + description << +Hello world +>> + author "Phil Windley" + } + + // just one rule + rule hello { + select when web pageview + notify("Hello world!", "Just a note to say hello"); + } +}