mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Merge pull request #1477 from DeathByTape/master
Added PigLatin language identification.
This commit is contained in:
@@ -1714,6 +1714,13 @@ Perl6:
|
||||
- .pl6
|
||||
- .pm6
|
||||
|
||||
PigLatin:
|
||||
type: programming
|
||||
color: "#fcd7de"
|
||||
lexer: Text only
|
||||
extensions:
|
||||
- .pig
|
||||
|
||||
Pike:
|
||||
type: programming
|
||||
color: "#066ab2"
|
||||
|
||||
10
samples/PigLatin/example.pig
Normal file
10
samples/PigLatin/example.pig
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* sample.pig
|
||||
*/
|
||||
|
||||
REGISTER $SOME_JAR;
|
||||
|
||||
A = LOAD 'person' USING PigStorage() AS (name:chararray, age:int); -- Load person
|
||||
B = FOREACH A generate name;
|
||||
DUMP B;
|
||||
|
||||
Reference in New Issue
Block a user