First commit.

This commit is contained in:
kj
2022-03-29 19:21:13 -04:00
commit da8f068975
293 changed files with 3002 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: class
# key: class
# --
class ${1:name}${2:($3)}${4: : $5}${6: {
$0
}}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: file_class
# key: file_class
# --
class `(f-base buffer-file-name)`${1:($2)}${3: {
$0
}}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: for (key in iterable) { ... }
# key: forin
# --
for (${1:key} in ${2:iterable}) {
`%`$0
}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: fun
# key: fun
# --
fun ${1:name}($2)${3:: ${4:Unit}} {
${0:TODO('Not yet implemented')}
}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: if
# key: if
# --
if (${1:true}) {
$0
}
+10
View File
@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: ife
# key: ife
# --
if (${1:true}) {
`%`$2
} else {
$0
}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: interface
# key: interface
# --
interface ${1:name} {
$0
}
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: main
# key: main
# --
fun main(args: Array<String>) {
$0
}
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: todo
# key: todo
# --
TODO('Not yet implemented')
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: val
# key: val
# --
val ${1:name}: ${2:Int}
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: val=
# key: val=
# --
val ${1:name}${2:: ${3:Int}} = `%`$0
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: var
# key: var
# --
var ${1:variable}: ${2:Int}
+6
View File
@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: var=
# key: var=
# --
var ${1:variable}${2:: ${3:Int}} = `%`$0
+8
View File
@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# contributor: Seong Yong-ju
# name: while
# key: while
# --
while ($true) {
$0
}