Commit Graph

61 Commits

Author SHA1 Message Date
184745e83d feat: finish error handling for lexing 2025-01-05 17:37:55 -05:00
f8d3b791b7 feat: readme 2025-01-05 13:01:21 -05:00
9d89f2fad0 feat: add error handling to string lexing 2025-01-05 12:43:28 -05:00
344ec18863 fix: test 2024-12-29 13:13:44 -05:00
c969830a42 feat: add error messages to number lexing 2024-12-29 08:16:40 -05:00
d833c44eb8 feat: add error messages to lex leading zero error 2024-12-29 07:34:56 -05:00
e68f1b73e4 feat: add help to error lexing hex/octal/bin 2024-12-28 20:06:24 -05:00
8e366a3d21 feat: add help messages capabilities to errors 2024-12-28 19:58:52 -05:00
a371b10180 fix: memory leaks on error handling 2024-12-28 07:23:38 -05:00
3ac2f0202c feat: show error indicators on error messages 2024-12-28 06:51:10 -05:00
f00af5ebb1 feat: gen error messages from labels 2024-12-25 08:04:12 -05:00
079e8eb4d4 feat: begin work on error labels 2024-12-25 06:46:42 -05:00
9a4942fd78 feat: wire error handling into repl flow 2024-12-24 19:11:23 -05:00
4e13453930 feat: add filename, line and column number to error reporting 2024-12-24 18:48:33 -05:00
996bb6460f feat: begin work on error printing 2024-12-24 18:33:02 -05:00
96cc7c4655 fix: test 2024-12-24 17:36:45 -05:00
1495e4ccad refactor: change way of storing errors in lexer 2024-12-24 07:11:10 -05:00
92cefe7b0b feat: add error handling to main lexer and number lexer (simple) 2024-12-22 07:04:51 -05:00
62b92f59b4 fix: memory leak when the lexer failed after lexing one or more items 2024-12-22 06:25:34 -05:00
f5c6e8556d feat: barebones error handling in the repl 2024-12-21 07:17:29 -05:00
d88248b891 feat: print token debug info with flag 2024-12-21 06:46:53 -05:00
75002582ba feat: minimal error handling 2024-12-21 06:11:16 -05:00
fb30e1195e feat: parse module 2024-12-16 21:00:27 -05:00
5337ba48a4 fix: prevent memory leaks in module parser 2024-12-16 07:10:06 -05:00
81e38ab8a8 fix: memory issues 2024-12-16 06:28:54 -05:00
6edb533f3d fix: memory issues in syntax root 2024-12-15 07:17:13 -05:00
9a31d1aca3 test: add tests for statement parsing 2024-12-14 06:31:23 -05:00
1225049f76 feat: minimal parsing of statements 2024-12-14 06:24:13 -05:00
e48e36bea8 test: add tests for variable parsing, fix mistakes 2024-12-12 07:11:06 -05:00
fd0459aef1 test: fix error in the lexer, after ignoring whitespace 2024-12-12 07:06:25 -05:00
55231e986e feat: minimal parse of variable binding 2024-12-12 06:47:20 -05:00
44bd9fc5ad feat: begin to parse a variable declaration 2024-12-12 06:00:00 -05:00
362c591b4b refactor: move expression parsing to its own file 2024-12-11 06:10:27 -05:00
095aebcad5 feat: begin parsing 2024-12-09 08:15:00 -05:00
0ff3e94620 refactor: use modules in build.zig 2024-12-05 21:11:24 -05:00
1bd463998c chore: update files 2024-11-29 06:13:02 -05:00
b71cfe4370 feat: lex punctuation 2024-11-27 21:06:51 -05:00
882d123fe0 feat: lex groupign signs 2024-11-27 20:41:42 -05:00
71d617928a feat: lex escape characters inside strings 2024-11-27 20:07:01 -05:00
b8c542d88e feat: lex string without escape characters 2024-11-27 19:36:45 -05:00
3f95515964 feat: lex comments, forbid CR 2024-11-24 07:35:20 -05:00
00597752da feat: lex operators 2024-11-24 06:53:58 -05:00
4e1b2c3cab feat: integrate identifier/datatype lexer 2024-11-18 21:14:09 -05:00
15a66ebc3d feat: lex datatype 2024-11-18 21:08:37 -05:00
92794cc07a feat: lex identifier. create comptime fn for lexing many, many_1 2024-11-18 21:05:46 -05:00
d6a83ff46c feat: lex many productions 2024-11-18 20:08:42 -05:00
26f5fed321 chore: small changes 2024-11-17 08:08:57 -05:00
8dccf94ad5 feat: lex floating point numbers with scientific notation 2024-11-17 07:56:29 -05:00
b0aec04235 feat: lex scientific number 2024-11-17 07:54:12 -05:00
1c8a50f797 feat: lex fp numbers 2024-11-17 07:37:38 -05:00