Fatih Arslan
|
1a63f537eb
|
scanner: negative float and int should be supported as well
|
2015-10-19 02:11:07 +03:00 |
|
Fatih Arslan
|
0cf842255d
|
parser: add list tests
|
2015-10-17 02:16:33 +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
|
f3dba35acc
|
parser: change how we obtain tokens
|
2015-10-12 02:27:43 +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
|
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
|
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
|
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
|
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
|
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 |
|
Fatih Arslan
|
2216cd81e9
|
scanner: # style line comment scanning implemented
|
2015-10-05 13:24:38 +03:00 |
|
Fatih Arslan
|
9096153a34
|
scanner: implement remaning tokens
|
2015-10-05 13:12:48 +03:00 |
|
Fatih Arslan
|
dd848e3dab
|
scanner: peek instead of next.
|
2015-10-05 13:03:46 +03:00 |
|
Fatih Arslan
|
00e06fb432
|
scanner: finalize float scanning
|
2015-10-05 12:59:55 +03:00 |
|
Fatih Arslan
|
c7955d276f
|
scanner: parse floats in form of .9 , .123
|
2015-10-05 12:31:26 +03:00 |
|
Fatih Arslan
|
69796c9fd2
|
scanner: parse a set of fractions
|
2015-10-05 12:26:22 +03:00 |
|
Fatih Arslan
|
b33f1a99db
|
scanner: implement parsing octals
|
2015-10-05 11:56:11 +03:00 |
|
Fatih Arslan
|
0255587e95
|
scnaner: implement scanning hexadecimal numbers
|
2015-10-04 23:47:06 +03:00 |
|
Fatih Arslan
|
5d75c5a143
|
scanner: initial number lexing
|
2015-10-04 23:21:34 +03:00 |
|
Fatih Arslan
|
9629512599
|
scanner: organize Scan() so it's easier to read
|
2015-10-04 22:53:20 +03:00 |
|
Fatih Arslan
|
aa9105226b
|
scanner: reuse tests code
|
2015-10-04 22:17:59 +03:00 |
|
Fatih Arslan
|
1f011b4e82
|
scanner: implement string scanning
|
2015-10-04 22:01:10 +03:00 |
|
Fatih Arslan
|
94bd4afe4d
|
scanner: small fixes
|
2015-10-04 20:22:37 +03:00 |
|
Fatih Arslan
|
52befe2093
|
scanner: use new hcl/token package
|
2015-10-04 20:19:39 +03:00 |
|
Fatih Arslan
|
df82bd3e9c
|
hcl: split up package for more control
|
2015-10-04 20:16:43 +03:00 |
|