mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-28 17:20:22 +00:00
added KRL config and sample
This commit is contained in:
@@ -680,6 +680,11 @@ Kotlin:
|
||||
- .ktm
|
||||
- .kts
|
||||
|
||||
KRL:
|
||||
type: programming
|
||||
color: "#f5c800"
|
||||
primary_extension: .krl
|
||||
|
||||
LLVM:
|
||||
primary_extension: .ll
|
||||
|
||||
|
||||
15
samples/KRL/helloworld.krl
Normal file
15
samples/KRL/helloworld.krl
Normal file
@@ -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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user