Fatih Arslan
|
407cd650d1
|
hcl: add *ast.File with comments
|
2015-10-30 22:51:35 +03:00 |
|
Fatih Arslan
|
bbc2d19923
|
parser: simplify objectItem method
|
2015-10-27 01:26:51 +03:00 |
|
Fatih Arslan
|
acef702a2f
|
hcl: support attaching comments to ast and printing them
|
2015-10-27 01:23:22 +03:00 |
|
Fatih Arslan
|
e6b8a3e7b4
|
parser: rename methods
|
2015-10-26 21:37:17 +03:00 |
|
Fatih Arslan
|
26846b5931
|
parser: fix leaked comment
|
2015-10-26 01:46:37 +03:00 |
|
Fatih Arslan
|
710dd69efb
|
Several changed and improvements
|
2015-10-26 01:34:41 +03:00 |
|
Fatih Arslan
|
d94e8e9409
|
hcl: add package comments
|
2015-10-25 18:14:16 +03:00 |
|
Fatih Arslan
|
71105156e2
|
parser: add Parse() and make it compatible with printer
|
2015-10-25 00:04:31 +03:00 |
|
Fatih Arslan
|
a995361468
|
parser: collect comments
|
2015-10-24 23:11:03 +03:00 |
|
Fatih Arslan
|
6b5bd170f6
|
parser: fix all tests, comments are still WIP
|
2015-10-24 22:10:10 +03:00 |
|
Fatih Arslan
|
3c21f6b72b
|
parser: simplify parsing object key even more and fix unscan
|
2015-10-19 02:01:33 +03:00 |
|
Fatih Arslan
|
17aa3f3c5a
|
parser: add better ObjectKey parser
|
2015-10-19 01:30:14 +03:00 |
|
Fatih Arslan
|
9468aa324e
|
parser: add official HCL tests, WIP
|
2015-10-18 23:25:17 +03:00 |
|
Fatih Arslan
|
393af546c0
|
parser: add TestObjectType
|
2015-10-18 23:19:56 +03:00 |
|
Fatih Arslan
|
1f47d675b9
|
parser: fix parser test
|
2015-10-18 22:51:10 +03:00 |
|
Fatih Arslan
|
0cf842255d
|
parser: add list tests
|
2015-10-17 02:16:33 +03:00 |
|
Fatih Arslan
|
39f76a99eb
|
parser: just return node :)
|
2015-10-17 01:48:38 +03:00 |
|
Fatih Arslan
|
0ed9465e4b
|
parser: add support for normal and nested objects
|
2015-10-17 01:39:49 +03:00 |
|
Fatih Arslan
|
16d5eb5f08
|
parser: add support for object type
|
2015-10-17 01:14:40 +03:00 |
|
Fatih Arslan
|
4e690ec67d
|
parser: add ListType support
|
2015-10-17 00:00:05 +03:00 |
|
Fatih Arslan
|
32f4e84345
|
token: rename TokenType to Type
|
2015-10-16 23:23:23 +03:00 |
|
Fatih Arslan
|
e93a8e97ca
|
hcl: split into meaningful packages
|
2015-10-16 23:12:26 +03:00 |
|
Fatih Arslan
|
72f3456c0f
|
scanner: do not panic if there is nothing to unread
|
2015-10-16 22:58:38 +03:00 |
|
Fatih Arslan
|
38490ad4dc
|
parser: add Walk scanner: fix tests
|
2015-10-16 22:57:56 +03:00 |
|
Fatih Arslan
|
378bec0cf4
|
parser: parse assignments, WIP
|
2015-10-16 14:44:11 +03:00 |
|
Fatih Arslan
|
f432878452
|
parser: simplfiy code
|
2015-10-16 14:16:12 +03:00 |
|
Fatih Arslan
|
628bc89026
|
parser: implement parseObjectKey function
|
2015-10-16 02:00:02 +03:00 |
|
Fatih Arslan
|
17205f8484
|
parser: be more specific about keys and identifiers
|
2015-10-16 01:11:54 +03:00 |
|
Fatih Arslan
|
62caacf06f
|
parser: assignments and objects are actually items and the same
|
2015-10-16 00:57:57 +03:00 |
|
Fatih Arslan
|
3832ed0981
|
parser: improve node parsing, remove string() and many other small fixes
|
2015-10-15 01:27:35 +03:00 |
|
Fatih Arslan
|
45d01fe82d
|
parser: more improvements around ATS
|
2015-10-12 23:44:53 +03:00 |
|
Fatih Arslan
|
8d60ae5dc5
|
parser: imrprovements to AST types
|
2015-10-12 22:53:40 +03:00 |
|
Fatih Arslan
|
0a3fe0e81e
|
parser: return error, we might need it
|
2015-10-12 10:37:37 +03:00 |
|
Fatih Arslan
|
0e668f87b2
|
parser: working assignstatement is finished
|
2015-10-12 02:49:07 +03:00 |
|
Fatih Arslan
|
00c13fa7e1
|
parser: it's not a statement
|
2015-10-12 02:28:27 +03:00 |
|
Fatih Arslan
|
f3dba35acc
|
parser: change how we obtain tokens
|
2015-10-12 02:27:43 +03:00 |
|
Fatih Arslan
|
99099cda62
|
parser: implement parsing assignments, stil wip
|
2015-10-12 01:38:59 +03:00 |
|
Fatih Arslan
|
82c5032a95
|
parser: implement node interface methods
|
2015-10-12 00:20:17 +03:00 |
|
Fatih Arslan
|
77c7bc18c5
|
parser: rename it back to Pos()
|
2015-10-09 12:36:40 +03:00 |
|
Fatih Arslan
|
8e99146570
|
parser: add initial AST definitions
|
2015-10-08 01:38:39 +03:00 |
|
Fatih Arslan
|
df82bd3e9c
|
hcl: split up package for more control
|
2015-10-04 20:16:43 +03:00 |
|
Fatih Arslan
|
f2aa1fbc4a
|
lexer: fix tests
|
2015-10-04 20:13:38 +03:00 |
|
Fatih Arslan
|
3bf9d71be5
|
parser: more idiomatic call
|
2015-10-04 01:35:29 +03:00 |
|
Fatih Arslan
|
c859b8a1a4
|
lexer: fix Position() call
|
2015-10-04 01:32:45 +03:00 |
|
Fatih Arslan
|
32ad59fcd7
|
lexer: more robust implementation
|
2015-10-04 01:29:13 +03:00 |
|
Fatih Arslan
|
97fb05dd4a
|
lexer: scan strings
|
2015-10-04 00:20:26 +03:00 |
|
Fatih Arslan
|
cc7a91eeab
|
lexer: implement positions
|
2015-10-03 23:50:50 +03:00 |
|
Fatih Arslan
|
4b72853d41
|
lexer: scanner is more Go idiomatic
|
2015-10-03 21:25:21 +03:00 |
|
Fatih Arslan
|
1b6ead19c2
|
parser: add scanning ident test
|
2015-10-03 21:06:30 +03:00 |
|
Fatih Arslan
|
ca906622c2
|
lexer: add peek() method
|
2015-10-03 20:33:51 +03:00 |
|