Add Futhark (#502)

This commit is contained in:
Troels Henriksen 2020-04-16 22:32:24 +02:00 committed by GitHub
parent 5225f61d75
commit 1a5c38dd7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View file

@ -392,6 +392,10 @@
"quotes": [["\\\"", "\\\""]],
"extensions": ["fs", "fsi", "fsx", "fsscript"]
},
"Futhark": {
"line_comment": ["--"],
"extensions": ["fut"]
},
"GDB": {
"name": "GDB Script",
"line_comment": ["#"],

8
tests/data/futhark.fut Normal file
View file

@ -0,0 +1,8 @@
-- 8 lines 2 code 3 comments 3 blanks
-- this is a test file
-- add two
let f (x: i32) = x + 2
let main = f -- eta expand