Commit Graph

32 Commits

Author SHA1 Message Date
Sasha Koshka 3297f6671e Lexer skips over zero runes now 2024-02-23 01:08:58 -05:00
Sasha Koshka 23052aa6f0 Changed repository import paths 2024-02-22 19:22:53 -05:00
Sasha Koshka ed2acd2f86 DESIGN.md -> README.md
Want this to show up in git web interfaces
2024-02-09 18:02:03 -05:00
Sasha Koshka c7c56dcb39 I need to sleep 2024-02-09 04:44:09 -05:00
Sasha Koshka f8ca067f54 Enhanced lexer/DESIGN.md 2024-02-09 04:42:03 -05:00
Sasha Koshka f807ced41d Add DESIGN.md to lexer 2024-02-09 04:37:39 -05:00
Sasha Koshka d6aa28602c Remedy #25 2024-02-09 03:48:44 -05:00
Sasha Koshka 4da3e81d3c Note for later 2024-02-09 00:44:18 -05:00
Sasha Koshka df7c45d479 Complete doc comments in lexer 2024-02-08 23:20:07 -05:00
Sasha Koshka 6cf92b66f5 Removed lexer.Symbols 2024-02-08 23:06:58 -05:00
Sasha Koshka a236bb0804 Added module overview doc comment to lexer 2024-02-08 23:05:36 -05:00
Sasha Koshka aa1dd6df0e Brought lexer up to date 2024-02-08 16:50:42 -05:00
Sasha Koshka d693132513 Token.Is and Token.ValueIs work properly 2024-02-06 23:16:48 -05:00
Sasha Koshka 28fa7321df Lexer now records the width of tokens 2024-02-06 23:08:25 -05:00
Sasha Koshka 62c96ed761 FINALLY errors and lexer agree on row/col positions properly 2024-02-06 22:11:46 -05:00
Sasha Koshka 8b7ac97e0d Lexer saves error lines 2024-02-06 21:54:20 -05:00
Sasha Koshka c38d15fa87 Lexer tests check for line content, print formatted errors 2024-02-06 19:08:21 -05:00
Sasha Koshka 1aa4a5d290 Added Token.String() 2024-02-06 18:56:04 -05:00
Sasha Koshka db66ff62fb Add Dot and DoubleDot as separate tokens 2024-02-06 02:23:15 -05:00
Sasha Koshka 0c44b87797 Add ValueIs method to lexer.Token 2024-02-06 02:19:09 -05:00
Sasha Koshka 9e20ba5210 Add TokenKind.String 2024-02-06 01:52:29 -05:00
Sasha Koshka 0ae38485ee Add Token.Is() to check if token is any of a set of kinds 2024-02-06 01:31:52 -05:00
Sasha Koshka fc88e27abf Lexer has no dependency on participle now 2024-02-05 15:04:54 -05:00
Sasha Koshka 60f42f8718 I forgot comments existed haha 2024-01-25 08:27:18 +00:00
Sasha Koshka 5cc14ac04e Nicer testing framework for lexer 2024-01-25 08:27:17 +00:00
Sasha Koshka 598e3412be Lexer now accepts files with no blank line at the end 2024-01-25 08:27:17 +00:00
Sasha Koshka 6e861c4e52 Fix comments 2023-12-05 22:04:12 -05:00
Sasha Koshka 0e3101b4d0 Add comments 2023-12-05 16:52:33 -05:00
Sasha Koshka d0245e4375 Added string literal to parser 2023-11-26 05:16:40 -05:00
Sasha Koshka 496a8c5e78 Add escape sequences to strings in lexer 2023-11-26 04:56:14 -05:00
Sasha Koshka cdee4adf1c Star is now a separate token 2023-10-18 01:14:17 -04:00
Sasha Koshka a80492420e Implement custom lexer FINALLY 2023-10-18 00:48:35 -04:00