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
|
9ee8cdff12
|
hcl: move not finished files into their own folders
|
2015-10-16 23:22:28 +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
|
c62cc48b92
|
scanner: add string test for token type
|
2015-10-07 15:31:27 +03:00 |
|
Fatih Arslan
|
f507aa7d78
|
token: remove package, no need to abstract that much
|
2015-10-07 15:22:52 +03:00 |
|
Fatih Arslan
|
a790a9664e
|
scanner: remove non used function
|
2015-10-07 15:06:02 +03:00 |
|
Fatih Arslan
|
0728686f59
|
scanner: simplify token text reading
|
2015-10-07 15:04:34 +03:00 |
|
Fatih Arslan
|
fa991d3df2
|
scanner: fix tests
|
2015-10-07 12:24:03 +03:00 |
|
Fatih Arslan
|
8169cb79d7
|
scanner: use a better token type
|
2015-10-07 12:20:35 +03:00 |
|
Fatih Arslan
|
760a028e8a
|
scanner: add NewScannerString, update docs
|
2015-10-07 12:11:52 +03:00 |
|
Fatih Arslan
|
85e52052c6
|
scanner: add a real example test
|
2015-10-06 20:57:10 +03:00 |
|
Fatih Arslan
|
b5330a1d78
|
scanner: more internal renamings
|
2015-10-06 19:59:12 +03:00 |
|
Fatih Arslan
|
3631451bd2
|
scanner: change signature of Scanner
|
2015-10-06 19:53:56 +03:00 |
|
Fatih Arslan
|
da40013062
|
scanner: change API for a better usage
|
2015-10-06 19:03:32 +03:00 |
|
Fatih Arslan
|
62a4ab3db7
|
scanner: fix all errors
|
2015-10-06 01:11:02 +03:00 |
|
Fatih Arslan
|
ea92162955
|
scanner: add more tests for capturing errors
|
2015-10-05 18:48:26 +03:00 |
|
Fatih Arslan
|
bc777d79f3
|
scanner: implement fully workable positions
|
2015-10-05 18:23:56 +03:00 |
|
Fatih Arslan
|
ac40da147e
|
scanner: fix tests
|
2015-10-05 18:18:09 +03:00 |
|
Fatih Arslan
|
81a8399ed1
|
scanner: improvements around Position
|
2015-10-05 17:43:29 +03:00 |
|
Fatih Arslan
|
89db79cf63
|
scanner: improve forward seeking
|
2015-10-05 17:36:14 +03:00 |
|
Fatih Arslan
|
bbf8cf2ac0
|
scanner: various fixes and improvements around NUMBER and FLOAT
|
2015-10-05 17:34:45 +03:00 |
|
Fatih Arslan
|
d9a424d177
|
scnaner: reorganize tests for upcoming additional tests
|
2015-10-05 13:44:55 +03:00 |
|
Fatih Arslan
|
9a71fdff07
|
scanner: split float and number tests
|
2015-10-05 13:38:53 +03:00 |
|
Fatih Arslan
|
6e23b0404d
|
scanner: implement comments
|
2015-10-05 13:36:28 +03:00 |
|
Fatih Arslan
|
a299665100
|
scanner: // style comments are implemented too
|
2015-10-05 13:26:18 +03:00 |
|