Fatih Arslan
|
66daded6ac
|
printer: finalize comment printing, yay \o/
|
2015-11-01 01:24:50 +03:00 |
|
Fatih Arslan
|
07cb426729
|
parser: fix panicing for # style comments
HCL supports # style comments, which are 1 size len. We assumed that
it's always // or /* , which are two size length
|
2015-10-31 15:11:53 +03:00 |
|
Fatih Arslan
|
629539558b
|
printer: collect standalone comments for printing
|
2015-10-31 01:15:36 +03:00 |
|
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
|
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
|
393af546c0
|
parser: add TestObjectType
|
2015-10-18 23:19:56 +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
|
e93a8e97ca
|
hcl: split into meaningful packages
|
2015-10-16 23:12:26 +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
|
8e99146570
|
parser: add initial AST definitions
|
2015-10-08 01:38:39 +03:00 |
|
Fatih Arslan
|
7e929f0990
|
hcl: start to implement our own lexer and parser
|
2015-10-03 14:32:19 +03:00 |
|