Maxwell max
max commented on pull request solstice/solstice#11 2026-05-24 16:11:57 +10:00
generics-refactor

Screw it we merge

max created pull request solstice/solstice#11 2026-05-24 12:49:54 +10:00
generics-refactor
max commented on issue solstice/solstice#10 2026-05-22 07:36:34 +10:00
Generic type constraints

Type constraints aren't implemented yet. You can do

struct Box[T] {}

but no has, can, holds, any of these

I haven't even figured out the syntax which I will use

max pushed to generics-refactor at solstice/solstice 2026-05-21 15:56:04 +10:00
6a936bf282 Add box and socket wrappers for Solstice
max pushed to master at ground/ground 2026-05-21 15:54:25 +10:00
c25df7918b Add box library
max pushed to generics-refactor at solstice/solstice 2026-05-21 13:49:47 +10:00
8a8e4381bf Escape codes lmao
max pushed to generics-refactor at solstice/solstice 2026-05-20 18:42:49 +10:00
b78a5ee7bb Fixes again! I think it works now??
max pushed to generics-refactor at solstice/solstice 2026-05-20 15:17:22 +10:00
cbc92b5b1d More fixes maybe?
max pushed to master at ground/ground 2026-05-19 20:34:12 +10:00
491d6a2c71 Socket test
3db779cb3e Add the allocator
Compare 2 commits »
max pushed to master at ground/ground 2026-05-19 20:32:21 +10:00
ed27cb0d1b Le bug has fixed itself lmao
max commented on issue solstice/solstice#9 2026-05-19 19:47:29 +10:00
Can't return template from function.

Bug is possibly fixed in 45c9d9ee37 but I need to test further before merging into master

max pushed to generics-refactor at solstice/solstice 2026-05-19 19:46:53 +10:00
45c9d9ee37 I think the bug is fixed?
max pushed to generics-refactor at solstice/solstice 2026-05-19 19:29:48 +10:00
3003605031 Some fixes maybe
max commented on issue solstice/solstice#9 2026-05-19 18:38:09 +10:00
Can't return template from function.

Also this bug applies to:

  • new
  • function args
  • fun(), template(), object()
  • And probably more
max closed issue solstice/solstice#7 2026-05-19 18:33:37 +10:00
Show argument names with error "Incorrect amount of arguments for function"
max commented on issue solstice/solstice#7 2026-05-19 18:33:37 +10:00
Show argument names with error "Incorrect amount of arguments for function"

Maybe in future, the current compiler kinda complicated enough as is

max closed issue solstice/solstice#8 2026-05-19 18:33:05 +10:00
Check argument types when calling function
max commented on issue solstice/solstice#8 2026-05-19 18:33:05 +10:00
Check argument types when calling function

i think I fixed this recently

max pushed to master at ground/ground 2026-05-19 18:31:07 +10:00
12d2ff6e24 Option to disable segfault handler
max commented on issue solstice/solstice#9 2026-05-19 18:20:55 +10:00
Can't return template from function.

started working on this here: c68bf1b662