1
0
Fork 0
Commit Graph

51 Commits

Author SHA1 Message Date
Gregory Eremin ef69dfedd3
Kifflom! 2015-04-27 22:05:48 +03:00
Gregory Eremin b92d43c5ed Buffer description 2015-02-26 23:31:31 +07:00
Gregory Eremin 9c4d04ab99 Comments on selector parsing 2015-02-26 23:27:59 +07:00
Gregory Eremin ca9d198b6b Add readme 2015-02-26 18:32:29 +07:00
Gregory Eremin f15ee2d6d7 Kifflom! 2015-02-26 18:02:50 +07:00
Gregory Eremin 93023774d2 Lexer benchmarks 2015-02-23 20:51:56 +07:00
Gregory Eremin a8137d5b87 Change selector syntax
Old: /bananas/[0]/weight
New: .bananas#0.weight
2015-02-23 20:32:54 +07:00
Gregory Eremin 6f19875d32 Buffer stream rewrite 2015-02-23 20:09:36 +07:00
Gregory Eremin fc170098e9 One buffer fits all 2015-02-23 20:07:19 +07:00
Gregory Eremin 75ff8bf4d5 Main program parses stdin 2015-02-18 23:06:15 +07:00
Gregory Eremin 23577d7274 Parser verbose mode 2015-02-18 23:05:45 +07:00
Gregory Eremin bda13e01db Skip verbose type notation 2015-02-18 22:40:37 +07:00
Gregory Eremin 3faf1adbad Green tests 2015-02-18 22:33:57 +07:00
Gregory Eremin d5663a7876 Rename DataBuffer to BytesBuffer 2015-02-18 22:12:50 +07:00
Gregory Eremin 2aacc54376 Handle errors (with care) 2015-02-18 22:05:16 +07:00
Gregory Eremin 4ef3bb8fd6 Stream parser 2015-02-18 22:04:26 +07:00
Gregory Eremin 7f547ce194 Fix comments 2015-02-18 20:50:55 +07:00
Gregory Eremin 57f3043281 Stream buffer 2015-02-18 20:43:00 +07:00
Gregory Eremin 6b9a8bebbc Lexer reads runes from buffer 2015-02-18 20:26:53 +07:00
Gregory Eremin 9b787b749b Simpla data buffer 2015-02-18 20:26:13 +07:00
Gregory Eremin b458480c68 Bufferer interface 2015-02-18 20:25:58 +07:00
Gregory Eremin 9e8610ba3b Use byte type for enums 2015-02-18 16:01:18 +07:00
Gregory Eremin 4917b570b0 Single-character tokens start col fix 2015-02-18 00:49:28 +07:00
Gregory Eremin 3d17f23e65 Single-character tokens printing fix 2015-02-18 00:49:12 +07:00
Gregory Eremin 6bcd7fd2e7 Parser is aware of lexer errors #finally 2015-02-18 00:36:52 +07:00
Gregory Eremin b3068f0e16 Closing items channel in one place 2015-02-18 00:26:19 +07:00
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