-
c9ef0afb41
printer: imropve alignment printing for standalone comments
Fatih Arslan
2015-10-31 17:45:43 +0300
-
07cb426729
parser: fix panicing for # style comments
Fatih Arslan
2015-10-31 15:11:53 +0300
-
9b5083066a
printer: implement standalone comments, still WIP
Fatih Arslan
2015-10-31 15:01:49 +0300
-
792e0fef49
printer: simplify standalone collecting
Fatih Arslan
2015-10-31 01:19:32 +0300
-
629539558b
printer: collect standalone comments for printing
Fatih Arslan
2015-10-31 01:15:36 +0300
-
407cd650d1
hcl: add *ast.File with comments
Fatih Arslan
2015-10-30 22:51:35 +0300
-
877d63151c
printer: support lead comment on aligned items
Fatih Arslan
2015-10-30 21:49:10 +0300
-
b4756273da
printer: now aligned comments are working as expected
Fatih Arslan
2015-10-28 02:40:51 +0300
-
3a165313db
printer: improvements on comment aligning
Fatih Arslan
2015-10-28 01:07:37 +0300
-
a16955dcad
printer: partially fixed aligned comments, still WIP
Fatih Arslan
2015-10-28 00:59:54 +0300
-
b93aefc3c3
printer: add aligned comment support, still WIP
Fatih Arslan
2015-10-27 23:51:44 +0300
-
3ee0cb44fa
printer: fix leadcomments for multiple comments
Fatih Arslan
2015-10-27 01:42:05 +0300
-
bbc2d19923
parser: simplify objectItem method
Fatih Arslan
2015-10-27 01:26:51 +0300
-
acef702a2f
hcl: support attaching comments to ast and printing them
Fatih Arslan
2015-10-27 01:23:22 +0300
-
e6b8a3e7b4
parser: rename methods
Fatih Arslan
2015-10-26 21:37:17 +0300
-
26846b5931
parser: fix leaked comment
Fatih Arslan
2015-10-26 01:46:37 +0300
-
710dd69efb
Several changed and improvements
Fatih Arslan
2015-10-26 01:34:41 +0300
-
c9e7ec3621
printer: add list example
Fatih Arslan
2015-10-25 21:18:46 +0300
-
c703010b7f
README.md: small fixes
Fatih Arslan
2015-10-25 19:57:07 +0300
-
df379b5fc1
hcl: move fmt to hclfmt repository
Fatih Arslan
2015-10-25 19:43:02 +0300
-
0f1099656c
README.md: update license information
Fatih Arslan
2015-10-25 19:30:31 +0300
-
5329930d86
BSD 3-clause license
Fatih Arslan
2015-10-25 19:29:57 +0300
-
ea21641224
Add README file
Fatih Arslan
2015-10-25 19:27:26 +0300
-
ccbedaa032
printer: fix printing of lists
Fatih Arslan
2015-10-25 19:09:22 +0300
-
5e525249f3
printer: fix assigning equal sign for multi keys
Fatih Arslan
2015-10-25 18:59:29 +0300
-
69f125c80f
fmt: initial working version of hclfmt
Fatih Arslan
2015-10-25 18:45:54 +0300
-
94c0e1e8d4
printer: mess up input :)
Fatih Arslan
2015-10-25 18:18:26 +0300
-
d94e8e9409
hcl: add package comments
Fatih Arslan
2015-10-25 18:14:16 +0300
-
ad50ec5933
printer: rename methods to make it more readable
Fatih Arslan
2015-10-25 18:10:34 +0300
-
e947512362
printer: add spacewidth support
Fatih Arslan
2015-10-25 18:02:40 +0300
-
0fc42b65df
printer: implement file tests
Fatih Arslan
2015-10-25 17:51:18 +0300
-
2ea5683566
printer: simplify indenting of objects
Fatih Arslan
2015-10-25 16:13:06 +0300
-
4d7ec81122
printer: add newline after each object
Fatih Arslan
2015-10-25 16:12:08 +0300
-
958093df59
printer: implement a working version
Fatih Arslan
2015-10-25 16:08:09 +0300
-
5918e3592b
printer: initial implementation. I'm still experimenting though
Fatih Arslan
2015-10-25 01:23:50 +0300
-
71105156e2
parser: add Parse() and make it compatible with printer
Fatih Arslan
2015-10-25 00:04:31 +0300
-
de7241ebe5
ast: print unknown node type
Fatih Arslan
2015-10-24 23:12:28 +0300
-
a995361468
parser: collect comments
Fatih Arslan
2015-10-24 23:11:03 +0300
-
6b5bd170f6
parser: fix all tests, comments are still WIP
Fatih Arslan
2015-10-24 22:10:10 +0300
-
1a63f537eb
scanner: negative float and int should be supported as well
Fatih Arslan
2015-10-19 02:11:07 +0300
-
3c21f6b72b
parser: simplify parsing object key even more and fix unscan
Fatih Arslan
2015-10-19 02:01:33 +0300
-
17aa3f3c5a
parser: add better ObjectKey parser
Fatih Arslan
2015-10-19 01:30:14 +0300
-
9468aa324e
parser: add official HCL tests, WIP
Fatih Arslan
2015-10-18 23:25:17 +0300
-
393af546c0
parser: add TestObjectType
Fatih Arslan
2015-10-18 23:19:56 +0300
-
1f47d675b9
parser: fix parser test
Fatih Arslan
2015-10-18 22:51:10 +0300
-
0cf842255d
parser: add list tests
Fatih Arslan
2015-10-17 02:16:33 +0300
-
39f76a99eb
parser: just return node :)
Fatih Arslan
2015-10-17 01:48:38 +0300
-
0ed9465e4b
parser: add support for normal and nested objects
Fatih Arslan
2015-10-17 01:39:49 +0300
-
16d5eb5f08
parser: add support for object type
Fatih Arslan
2015-10-17 01:14:40 +0300
-
4e690ec67d
parser: add ListType support
Fatih Arslan
2015-10-17 00:00:05 +0300
-
32f4e84345
token: rename TokenType to Type
Fatih Arslan
2015-10-16 23:23:23 +0300
-
9ee8cdff12
hcl: move not finished files into their own folders
Fatih Arslan
2015-10-16 23:22:28 +0300
-
e93a8e97ca
hcl: split into meaningful packages
Fatih Arslan
2015-10-16 23:12:26 +0300
-
72f3456c0f
scanner: do not panic if there is nothing to unread
Fatih Arslan
2015-10-16 22:58:38 +0300
-
38490ad4dc
parser: add Walk scanner: fix tests
Fatih Arslan
2015-10-16 22:57:56 +0300
-
378bec0cf4
parser: parse assignments, WIP
Fatih Arslan
2015-10-16 14:44:11 +0300
-
f432878452
parser: simplfiy code
Fatih Arslan
2015-10-16 14:16:12 +0300
-
628bc89026
parser: implement parseObjectKey function
Fatih Arslan
2015-10-16 02:00:02 +0300
-
17205f8484
parser: be more specific about keys and identifiers
Fatih Arslan
2015-10-16 01:11:54 +0300
-
62caacf06f
parser: assignments and objects are actually items and the same
Fatih Arslan
2015-10-16 00:57:57 +0300
-
3832ed0981
parser: improve node parsing, remove string() and many other small fixes
Fatih Arslan
2015-10-15 01:27:35 +0300
-
45d01fe82d
parser: more improvements around ATS
Fatih Arslan
2015-10-12 23:44:53 +0300
-
8d60ae5dc5
parser: imrprovements to AST types
Fatih Arslan
2015-10-12 22:53:40 +0300
-
0a3fe0e81e
parser: return error, we might need it
Fatih Arslan
2015-10-12 10:37:37 +0300
-
0e668f87b2
parser: working assignstatement is finished
Fatih Arslan
2015-10-12 02:49:07 +0300
-
00c13fa7e1
parser: it's not a statement
Fatih Arslan
2015-10-12 02:28:27 +0300
-
f3dba35acc
parser: change how we obtain tokens
Fatih Arslan
2015-10-12 02:27:43 +0300
-
99099cda62
parser: implement parsing assignments, stil wip
Fatih Arslan
2015-10-12 01:38:59 +0300
-
82c5032a95
parser: implement node interface methods
Fatih Arslan
2015-10-12 00:20:17 +0300
-
77c7bc18c5
parser: rename it back to Pos()
Fatih Arslan
2015-10-09 12:36:40 +0300
-
8e99146570
parser: add initial AST definitions
Fatih Arslan
2015-10-08 01:38:39 +0300
-
c62cc48b92
scanner: add string test for token type
Fatih Arslan
2015-10-07 15:31:27 +0300
-
f507aa7d78
token: remove package, no need to abstract that much
Fatih Arslan
2015-10-07 15:22:52 +0300
-
a790a9664e
scanner: remove non used function
Fatih Arslan
2015-10-07 15:06:02 +0300
-
0728686f59
scanner: simplify token text reading
Fatih Arslan
2015-10-07 15:04:34 +0300
-
fa991d3df2
scanner: fix tests
Fatih Arslan
2015-10-07 12:24:03 +0300
-
8169cb79d7
scanner: use a better token type
Fatih Arslan
2015-10-07 12:20:35 +0300
-
760a028e8a
scanner: add NewScannerString, update docs
Fatih Arslan
2015-10-07 12:11:52 +0300
-
85e52052c6
scanner: add a real example test
Fatih Arslan
2015-10-06 20:57:10 +0300
-
b5330a1d78
scanner: more internal renamings
Fatih Arslan
2015-10-06 19:59:12 +0300
-
3631451bd2
scanner: change signature of Scanner
Fatih Arslan
2015-10-06 19:53:56 +0300
-
da40013062
scanner: change API for a better usage
Fatih Arslan
2015-10-06 19:03:32 +0300
-
62a4ab3db7
scanner: fix all errors
Fatih Arslan
2015-10-06 01:11:02 +0300
-
ea92162955
scanner: add more tests for capturing errors
Fatih Arslan
2015-10-05 18:48:26 +0300
-
bc777d79f3
scanner: implement fully workable positions
Fatih Arslan
2015-10-05 18:23:56 +0300
-
ac40da147e
scanner: fix tests
Fatih Arslan
2015-10-05 18:18:09 +0300
-
81a8399ed1
scanner: improvements around Position
Fatih Arslan
2015-10-05 17:43:29 +0300
-
89db79cf63
scanner: improve forward seeking
Fatih Arslan
2015-10-05 17:36:14 +0300
-
bbf8cf2ac0
scanner: various fixes and improvements around NUMBER and FLOAT
Fatih Arslan
2015-10-05 17:34:45 +0300
-
d9a424d177
scnaner: reorganize tests for upcoming additional tests
Fatih Arslan
2015-10-05 13:44:55 +0300
-
9a71fdff07
scanner: split float and number tests
Fatih Arslan
2015-10-05 13:38:53 +0300
-
6e23b0404d
scanner: implement comments
Fatih Arslan
2015-10-05 13:36:28 +0300
-
a299665100
scanner: // style comments are implemented too
Fatih Arslan
2015-10-05 13:26:18 +0300
-
2216cd81e9
scanner: # style line comment scanning implemented
Fatih Arslan
2015-10-05 13:24:38 +0300
-
9096153a34
scanner: implement remaning tokens
Fatih Arslan
2015-10-05 13:12:48 +0300
-
dd848e3dab
scanner: peek instead of next.
Fatih Arslan
2015-10-05 13:03:46 +0300
-
00e06fb432
scanner: finalize float scanning
Fatih Arslan
2015-10-05 12:59:55 +0300
-
c7955d276f
scanner: parse floats in form of .9 , .123
Fatih Arslan
2015-10-05 12:31:26 +0300
-
69796c9fd2
scanner: parse a set of fractions
Fatih Arslan
2015-10-05 12:26:22 +0300
-
b33f1a99db
scanner: implement parsing octals
Fatih Arslan
2015-10-05 11:56:11 +0300