Commit Graph

23 Commits

Author SHA1 Message Date
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