1
0
Fork 0
Commit Graph

29 Commits

Author SHA1 Message Date
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 fc170098e9 One buffer fits all 2015-02-23 20:07:19 +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 2aacc54376 Handle errors (with care) 2015-02-18 22:05:16 +07:00
Gregory Eremin 7f547ce194 Fix comments 2015-02-18 20:50:55 +07:00
Gregory Eremin 6b9a8bebbc Lexer reads runes from buffer 2015-02-18 20:26:53 +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 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 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 257f3c42a9 Don't add wrapping quotes to string value 2015-02-17 00:05:49 +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 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