Commit Graph

30 Commits

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