• Joined on 2022-05-11
janis pushed to main at janis/nixos-config 2025-11-29 16:38:03 +00:00
42dc16c8c8 wsl uesr name
janis pushed to main at janis/nixos-config 2025-11-19 12:31:36 +00:00
03ba99d9dd update & wsl.nix host
janis pushed to main at janis/nixos-config 2025-11-18 17:06:49 +00:00
e5379891a5 disable ssh password auth
3df732b793 update lock file
68e7869fc3 fix typos
71e36690a3 split home and user up to allow for modular configuration
74be2fe1d6 add /mnt/storage
Compare 68 commits »
janis pushed to new-config at janis/nixos-config 2025-11-18 17:06:09 +00:00
e5379891a5 disable ssh password auth
3df732b793 update lock file
68e7869fc3 fix typos
71e36690a3 split home and user up to allow for modular configuration
74be2fe1d6 add /mnt/storage
Compare 7 commits »
janis pushed to main at janis/from-scratch 2025-11-14 12:00:03 +00:00
04044a78ff tests for alloc,vec,tokeniser
7bc3c14095 move tests to use cargo
Compare 2 commits »
janis pushed to main at janis/from-scratch 2025-11-08 14:43:31 +00:00
ae2cf5f9d3 idk?
32b8e84891 use cargo
fe350da24d as expr (tree walk)
192c123373 as expression (<prefix-expr> as <type>), more types in ast
07dcaf6a64 vec_push returns inserted index
Compare 10 commits »
janis pushed to new-config at janis/nixos-config 2025-11-06 09:54:07 +00:00
0f90609498 disable ssh password auth
janis pushed to main at janis/from-scratch 2025-11-03 19:32:33 +00:00
a90a01bc28 more comparison operators
0e25f627a8 can codegen if/else
Compare 2 commits »
janis pushed to main at janis/from-scratch 2025-11-03 16:06:10 +00:00
4f5579b6fd lints
3526f9d59d fix stack var logic error
07eeed7cff can do very cool stuff!
52cfc7dc54 yippie?
8508018b0a sete doesn't work like that!
Compare 10 commits »
janis pushed to main at janis/from-scratch 2025-11-02 00:07:53 +00:00
6ebc6afb2b codegen for binop
b9712dacfb fix ast gen with nested binary ops
a0f4b56c64 skip_token method
c0dc1361ae add more tokens
9cb3331f60 method for pushing/poping registers before calling functions
Compare 10 commits »
janis pushed to main at janis/from-scratch 2025-11-01 02:10:02 +00:00
ea4611111b remove strange file and print source in codegen test
2ca60ace59 codegen working? pogU?
105c052e95 more fixes for codegen
a25dcdabbb many small fixes
e43424b780 fix int_to_str2 for 0
Compare 9 commits »
janis pushed to main at janis/from-scratch 2025-10-31 16:14:35 +00:00
da2a298baf get-register-name from width and index
d793a3251f init stack vec, push rplogue
e3e0d6843f fix issues with initial codegen
d5de30d9e7 initial codegen
6bdd2ef18a export display/debug impls for ast to ast_debug.rs
Compare 14 commits »
janis pushed to main at janis/from-scratch 2025-10-31 00:55:19 +00:00
e79af01925 ast: correctly resolves var refs
935a3e0a53 fix odd initial scope (is now -1usize)
cd04a5a4ca try to redo scopes/symtable with passed down scope
cd5b714051 fix return statement push op
a769fece84 pass scope in walk_for_each
Compare 8 commits »
janis pushed to main at janis/from-scratch 2025-10-30 21:16:55 +00:00
56354237c6 build symbol table
ad3b0205c2 ast walking
525b78cdf4 pointer type
e54313b6a2 args, var-ref
84e87824ba ast: placeness, assignment, var decl, deref, address-of
Compare 6 commits »
janis pushed to main at janis/from-scratch 2025-10-29 23:32:00 +00:00
2df4d182f9 ast: placeness
099d774634 ast: sub, mul, div
838c96f04f update python script, add slash and star tokens
886525cf7e support parenthesised expressions
c609fe4ec6 fix blocks, increase AstNode by 1 qword
Compare 5 commits »
janis pushed to main at janis/from-scratch 2025-10-29 22:17:11 +00:00
d2597d2de7 can parse basic function
8740fea99d fix tokeniser for: void
Compare 2 commits »
janis pushed to main at janis/from-scratch 2025-10-29 21:10:42 +00:00
8f4d626968 ast tests
4e55fa74f4 parse structs and functions from asm for rust tests
5ae3e17693 initial ast
bf9d07b462 init tokeniser with buffer
46053090f4 initial parsing
Compare 8 commits »
janis pushed to main at janis/from-scratch 2025-10-29 12:39:01 +00:00
cd21ecb782 insert sorted, return tuple instead of strange signed index from binary search methods
1a4055a69a memmove, vec_insert, vec_binary_search_by working and tested
af19946dc4 remove size from some vec functions
8ac409c677 isnert and binary search by
fd52df1307 more testing and fixes for vec.asm
Compare 5 commits »
janis pushed to main at janis/from-scratch 2025-10-28 20:43:32 +00:00
edc4f4e576 parsing numbers
f60573c06f radix, negative numbers
15c2aea16a rewrite int_to_str
Compare 3 commits »
janis pushed to main at janis/from-scratch 2025-10-28 19:40:32 +00:00
6a6af53667 bump allocator