-
Notifications
You must be signed in to change notification settings - Fork 0
/
specs1.ekon
executable file
·44 lines (40 loc) · 1.04 KB
/
specs1.ekon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
`export { someType as root } from './spec.d.ts';`
// hello: -1_7.13e-01
// nullValue: null
// unquotedKey:forSimpleOneWordStrings
// unquotedKey2:[email protected]
// doubleQuotes: "hello this \" \\'..\\' is" // prefer single-quotes though
// singleQuotes: 'You can use \u0110 "double-quotes" inside'
//yo: 'intmain(){hello:world}'
// multilineSingleQuote: '
// This is
// multiline
// string'
'single QuotedKey':'Prefer single-quotes over double-quotes for keys'
unicode:hello\u1011
intNumber:100
// floatingPointNumber:-0.916
// positiveSignNumber:+10348.219
// hexadecimalNumber: 0xFF
// hello: 1
// yo: there
// hello: 2
// arrays: [
// hellothere
// { key: 'value', nested: [] }
// 567
// [ "another array" 13 [] ]
// ]
// objectMap: {
// world: 'No comma rules still apply inside'
// nested: {
// hello: 1
// }
// arr: ["Hello""World"],
// anotherNumber: 123
// hello: falsier
// }
// "arrayVal":[1,2,3,4]
// "numVal": "hello"
// "obj":{"k":"v"},
// "multiline":"hi\nthere\n"