Commit graph

25 commits

Author SHA1 Message Date
janis 8f4d626968
ast tests 2025-10-29 22:10:34 +01:00
janis 4e55fa74f4
parse structs and functions from asm for rust tests 2025-10-29 22:10:14 +01:00
janis 5ae3e17693
initial ast 2025-10-29 20:39:32 +01:00
janis bf9d07b462
init tokeniser with buffer 2025-10-29 20:39:22 +01:00
janis 46053090f4
initial parsing 2025-10-29 16:21:15 +01:00
janis 62751f30ab
move more stuff to shared test file 2025-10-29 16:20:42 +01:00
janis 86bbab90c3
modularise test with shared rust structs
add expect/unwrap token methods to tokeniser to aid with parsing
2025-10-29 14:00:17 +01:00
janis cd21ecb782
insert sorted, return tuple instead of strange signed index from binary search methods 2025-10-29 13:38:39 +01:00
janis 1a4055a69a
memmove, vec_insert, vec_binary_search_by working and tested 2025-10-29 00:39:23 +01:00
janis af19946dc4
remove size from some vec functions 2025-10-28 23:40:00 +01:00
janis fd52df1307
more testing and fixes for vec.asm 2025-10-28 23:13:02 +01:00
janis edc4f4e576
parsing numbers 2025-10-28 21:43:23 +01:00
janis f60573c06f
radix, negative numbers 2025-10-28 21:18:00 +01:00
janis 15c2aea16a
rewrite int_to_str 2025-10-28 21:05:16 +01:00
janis 6a6af53667
bump allocator 2025-10-28 20:40:25 +01:00
janis 5f63d4303e
formatting, strings, comments 2025-10-28 18:16:39 +01:00
janis 43a06ad55c
test numbers 2025-10-28 17:16:28 +01:00
janis 82104cfe0d
edge case identifiers, simple function parsing 2025-10-28 16:52:17 +01:00
janis 26c37e9dd3
test identifiers 2025-10-28 16:48:13 +01:00
janis 1886231dcd
return lexeme str slice from find_lexeme function 2025-10-28 16:30:15 +01:00
janis cfc1c8e3b3
more tests for tokeniser 2025-10-28 13:12:27 +01:00
janis 63fbca378b
can tokenise simple tokens 2025-10-28 12:44:08 +01:00
janis 719451b935
reduce warnings, enable edition 2024, fix tokeniser (1/?) 2025-10-28 12:06:24 +01:00
janis b5c0a41aa4
move panic out, add stack frames, proper rust test 2025-10-20 22:44:27 +02:00
janis 9a235e625a
asdf 2025-10-20 22:32:24 +02:00