initial commit

This commit is contained in:
Alessandro Mauri 2025-10-25 17:43:06 +02:00
commit 0b3af7375e
39 changed files with 2339 additions and 0 deletions

14
test/test_custom_hash.c3 Normal file
View file

@ -0,0 +1,14 @@
import std::collections::map;
def Codepoint = uint;
fn uint Codepoint.hash(Codepoint code) => code < 128 ? code : ((uint)code).hash();
def CodeMap = map::HashMap(<Codepoint, Codepoint>);
fn int main()
{
CodeMap m;
m.new_init();
m.free();
return 0;
}