mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Added PigLatin language identification.
Updated languages.yml to associate *.pig files with PigLatin. Added pig script example to samples/. Updated the samples.json with to account for new sample.
This commit is contained in:
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