1
0
Fork 0
Commit Graph

25 Commits

Author SHA1 Message Date
Gregory Eremin 87f8cdded6 Respect starting line numbers for strings 2015-02-18 00:18:27 +07:00
Gregory Eremin eb86a5613d Item has line and column numbers 2015-02-18 00:12:40 +07:00
Gregory Eremin 72f1734218 Make skipping spaces more simlpe 2015-02-18 00:12:23 +07:00
Gregory Eremin bfdb311495 Optimize numbers 2015-02-17 23:58:49 +07:00
Gregory Eremin 0d2df2c6e5 Go greedy 2015-02-17 23:05:42 +07:00
Gregory Eremin e33501d6a5 Document side effects 2015-02-17 23:00:09 +07:00
Gregory Eremin 3dffc49ea7 Update test script 2015-02-17 22:47:32 +07:00
Gregory Eremin 6037100d4b Remove context operations from parser 2015-02-17 22:47:22 +07:00
Gregory Eremin 937c8b31d7 Parser context 2015-02-17 22:47:02 +07:00
Gregory Eremin 76ee42a0a6 Make lexer errors more verbose 2015-02-17 02:26:16 +07:00
Gregory Eremin 0ab1758dec Use ticks to avoid escaping quotes 2015-02-17 02:11:35 +07:00
Gregory Eremin 2ee15bc355 Lexer tests 2015-02-17 02:04:17 +07:00
Gregory Eremin 0aa570683b Lexer's cosmetic refactor 2015-02-17 00:50:16 +07:00
Gregory Eremin bf670810f8 Lexer doen't need to store state 2015-02-17 00:23:27 +07:00
Gregory Eremin d38122a34f Parser #yay 2015-02-17 00:06:33 +07:00
Gregory Eremin 257f3c42a9 Don't add wrapping quotes to string value 2015-02-17 00:05:49 +07:00
Gregory Eremin b6eceb5dcd Parse expectations 2015-02-16 20:36:23 +07:00
Gregory Eremin def30c216c Get rid of loop labels 2015-02-16 18:25:33 +07:00
Gregory Eremin ca7f4c9acb Simplifying lexer 2015-02-16 18:18:14 +07:00
Gregory Eremin 171e581366 Parser mock 2015-02-16 16:02:49 +07:00
Gregory Eremin a02ba712b8 Count line breaks inside strings 2015-02-16 16:02:40 +07:00
Gregory Eremin 2e6cafb1cb Lexer doesn't need a name 2015-02-16 16:02:31 +07:00
Gregory Eremin 0f04fa41e8 JSON lexer 2015-02-16 15:54:53 +07:00
Gregory Eremin 9c6f27bcc5 Split lexer into two files for now 2015-02-12 18:15:27 +07:00
Gregory Eremin e4b3e337ce Initial commit 2015-02-12 18:12:19 +07:00