roodletoof
af356a0d71
Squash merge feature/scanner_v2 into main
C Tests / Build and Test (push) Successful in 10m52s
2026-10-01 22:19:09 +02:00
roodletoof
27c5c4a55b
remove remove foobar
C Tests / Build and Test (push) Successful in 11m4s
2026-09-24 20:49:50 +02:00
roodletoof
ead04f9c08
add TODO in CI pipeline
C Tests / Build and Test (push) Successful in 13m37s
2026-06-25 23:46:53 +02:00
roodletoof
e998334d69
copy justfile over from feature/hashmap
2026-05-20 19:05:41 +02:00
roodletoof
3ae94863fa
update readme
2026-05-19 20:55:26 +02:00
roodletoof
d2b9b4d607
remove cringe capitalization
2026-05-19 20:16:41 +02:00
roodletoof
59b45432c3
also help on flags
2026-05-19 20:16:41 +02:00
roodletoof
050d369895
passing scanner
2025-12-17 19:29:58 +01:00
roodletoof
9c329eaaaa
failing scanner
2025-12-16 21:41:49 +01:00
roodletoof
4e15e8eb7e
allocate the buffer immediately
2025-12-16 18:29:58 +01:00
roodletoof
6ad73ea57a
update code I was warned about
2025-12-14 19:45:08 +01:00
roodletoof
c2d632b0b9
update arena allocator docs
2025-12-14 19:42:09 +01:00
roodletoof
4c279e29b9
change help for cli
2025-12-14 19:32:57 +01:00
roodletoof
4906ae7001
fix tests and contains cmp version
2025-12-14 15:48:16 +01:00
roodletoof
526b49e518
change how contains works
...
TODO: update tests
2025-12-14 15:31:51 +01:00
roodletoof
1e78fa7d2f
add qsort to arr
2025-12-14 13:11:34 +01:00
roodletoof
3321fb8f64
update ci again
2025-12-14 12:50:07 +01:00
roodletoof
93b2e607d6
update ci
2025-12-14 12:48:21 +01:00
roodletoof
ecc6ceaef7
update ci/cd
2025-12-14 12:43:52 +01:00
roodletoof
308cb6e83d
cleanup
2025-12-14 12:40:32 +01:00
roodletoof
c9959cdb5b
Merge branch 'main' of github.com:roodletoof/cig
2025-12-13 16:47:42 +01:00
roodletoof
8485ad25e4
bounds checked arrays
2025-12-13 16:47:40 +01:00
roodletoof
1a59e2b190
file io
2025-12-13 16:30:27 +01:00
roodletoof
c660d1ec1e
update builder to always clear after retrieving output
2025-12-13 16:16:25 +01:00
roodletoof
289f4bb371
update arena allocator with a warning
2025-12-13 15:45:06 +01:00
roodletoof
9f948cc02f
Revert "test to make sure arenas can be used as backing allocators for other arenas"
...
This reverts commit 7333c497ec .
2025-12-13 15:41:34 +01:00
roodletoof
7333c497ec
test to make sure arenas can be used as backing allocators for other arenas
2025-12-13 15:31:49 +01:00
roodletoof
68fee5b766
improve dynamic arrays
2025-12-13 15:02:25 +01:00
roodletoof
11a49eae33
remove scrap
2025-12-13 14:45:27 +01:00
roodletoof
543893095c
arena fixes
2025-12-13 14:07:30 +01:00
roodletoof
9398c0bf0e
sb_fprint
2025-12-12 20:09:41 +01:00
roodletoof
65b5905f00
latest latest
2025-12-10 07:58:54 +01:00
roodletoof
260dabfbf0
latest
2025-12-10 07:58:23 +01:00
roodletoof
2c4646a0ee
update append
2025-12-10 07:52:29 +01:00
roodletoof
1492d885dd
rewrite arr_contains
2025-12-10 07:48:02 +01:00
roodletoof
2560ad99e7
dynamic array contains function
2025-12-09 20:20:21 +01:00
roodletoof
f579ddc3cb
update array names to be shorter
2025-12-09 17:49:23 +01:00
roodletoof
e3bfde5826
add scan_repeat_literal to scanner
2025-12-07 18:11:34 +01:00
roodletoof
c0d6f53808
add digit scanning function to scanner
2025-12-07 00:12:47 +01:00
roodletoof
e13f66b9e4
fix stringbuilder bug
2025-12-07 00:07:18 +01:00
roodletoof
22c5da0e76
reset builder after building
2025-12-06 22:32:48 +01:00
roodletoof
0875f206cb
add substring
2025-12-06 22:27:20 +01:00
roodletoof
38e612c54a
Merge branch 'main' of github.com:roodletoof/cig
2025-12-06 21:37:55 +01:00
roodletoof
e76d553f1a
added basic string builder
2025-12-06 21:37:23 +01:00
roodletoof
5468f8e3d2
reformat with_borrow
2025-12-06 18:42:48 +01:00
roodletoof
234eb510a9
added scanner to cig library
2025-12-06 18:26:31 +01:00
roodletoof
234021cdf5
some cleanup
2025-12-06 14:36:57 +01:00
roodletoof
536c1ef990
merge cli into cig library
2025-12-06 14:24:55 +01:00
roodletoof
8f47d7db2b
move std allocator to forever allocator
2025-12-06 14:20:50 +01:00
roodletoof
d6ad1c7602
arena allocators are fully implemented
2025-12-06 14:19:53 +01:00
roodletoof
b912759050
only allocate non-zero capacities
2025-12-06 14:19:33 +01:00
roodletoof
f676cff0e7
complete arena allocator implementation of allocator interface
2025-12-06 12:49:34 +01:00
roodletoof
9a93876137
first draft of arena resize
2025-12-05 21:33:35 +01:00
roodletoof
f2e9bf2f83
WIP
2025-12-03 21:58:26 +01:00
roodletoof
9214b986ac
retab everything to use tabs
2025-12-03 19:38:43 +01:00
roodletoof
1b33ace698
started work on arena allocator again
2025-12-03 19:38:37 +01:00
roodletoof
b0d972d6fd
add todo
2025-12-03 18:29:05 +01:00
roodletoof
cf7c1ef9ec
remove resolved todo
2025-12-03 18:29:03 +01:00
roodletoof
83a8526a78
update
2025-12-03 18:26:32 +01:00
roodletoof
5d22f8c47a
added todo
2025-12-02 21:26:10 +01:00
roodletoof
37c703bea6
add todo
2025-12-02 21:22:00 +01:00
roodletoof
01b8150625
refactor
...
remove the free function entirely. all allocators are now expected to
implement reset instead. I reallized I never ever want to free an
individual allocation ever again. The forever_allocator is a special
case wherEreset is a no-op. The arena allocator was deleted. It will be
replaced soon.
2025-12-02 20:21:12 +01:00
roodletoof
ef8d51f153
added warning to arena allocator
2025-12-01 21:16:41 +01:00
roodletoof
58534670f8
rename ifdefs
2025-12-01 19:24:12 +01:00
roodletoof
fa156d2084
update the unique values in cli to have their own names
2025-12-01 18:21:48 +01:00
roodletoof
ce4159cab2
update to cli library
2025-11-30 21:49:35 +01:00
roodletoof
71a27177b4
cli header only library
2025-11-30 19:43:58 +01:00
roodletoof
3e1565e67f
some rename
2025-11-30 19:43:49 +01:00
roodletoof
7f85664f13
trying to find out what I dont understand
2025-11-26 20:57:26 +01:00
roodletoof
0a4120bccd
use the ctags recursive flag
2025-11-26 18:06:21 +01:00
roodletoof
cd3f814b86
updated test with example cleaner syntax
2025-11-25 22:24:59 +01:00
roodletoof
6dc0caceeb
wrote with_arena macro
2025-11-25 22:18:54 +01:00
roodletoof
df496f73ef
completed arena allocator implementation
...
TODO: write tests
TODO: write helper macros such as with_arena
2025-11-25 21:39:08 +01:00
roodletoof
8d92bc84f6
some progress, not good
2025-11-24 22:59:18 +01:00
roodletoof
d4451196f6
some progress on the arena allocator
2025-11-18 21:54:38 +01:00
roodletoof
78cc6c5cae
WIP continue the work on arena allcoator implementation
2025-11-17 20:23:42 +01:00
roodletoof
92ca008516
fixed it somehow, still WIP
2025-11-15 18:25:34 +01:00
roodletoof
d36b6d2c45
things are fucky wucky
2025-11-06 19:42:59 +01:00
roodletoof
75eecb3a47
started work on arenas
...
not done at all
2025-11-05 21:56:01 +01:00
roodletoof
c848095946
update README.md
2025-11-04 21:31:59 +01:00
roodletoof
97fef1ccc8
note about macro trick I can use
2025-11-04 21:15:29 +01:00
roodletoof
e5432a3969
fixed bug in pop test
2025-11-04 21:10:07 +01:00
roodletoof
9b1eaea653
dynamic arrays seem to be working
2025-11-04 20:41:21 +01:00
roodletoof
aa0a3d6a25
WIP
2025-10-25 19:05:17 +02:00
roodletoof
f1d6b68e70
some progress on dynamic arrays
2025-10-16 21:57:30 +02:00
roodletoof
f9d8a0318b
some progress
2025-10-12 21:53:11 +02:00
roodletoof
f04e0f0731
some progress on arraylist interface
2025-10-12 02:30:47 +02:00
roodletoof
ef8b421fd9
started work on dynamic arrays
2025-10-11 17:57:18 +02:00
roodletoof
b02a62a46f
hopefully this crashes the tests
2025-10-11 17:00:55 +02:00
roodletoof
890cc04283
added todo
2025-10-11 03:46:03 +02:00
roodletoof
9ae5b281b9
error test
2025-10-11 03:43:58 +02:00
roodletoof
ffbc42f558
update docs
2025-10-11 03:43:53 +02:00
roodletoof
c240443828
rename allocator to cig
2025-10-11 03:31:23 +02:00
roodletoof
20cac1737e
use special valgrind option to detect memory leaks
...
I am hoping that this task fails now
2025-10-11 03:18:34 +02:00
roodletoof
86d5110b0b
minor changes to tests
2025-10-10 20:31:20 +02:00
roodletoof
c5d6d2ff08
add todo message
...
something is wrong with the allocation detection???
2025-10-10 20:18:19 +02:00
roodletoof
3e80bd2cfd
with_borrow macros
...
this allows for scope-based heap allocations. There is one limitation.
You cannot use the return keyword inside the following block. This trick
uses dark macro magic :)
2025-10-10 20:13:15 +02:00
roodletoof
6e3211ab49
fix constant issue, and make running of test program dependent on successful build
2025-10-09 21:17:29 +02:00
roodletoof
4942d959d5
run tests with valgrind
2025-10-09 20:52:27 +02:00
roodletoof
dd983c9834
ignore persistent undo files
2025-10-09 18:30:17 +02:00