Sexy chimp lang


cock ball cock penis sex (mature) (( you might say unsilly)) :(

:() <- chimpanzee
>:() <- furious chimpanzee

  1. easy 4 low level (c type shit)
  2. dont have to bash head with random shit on normal programs (c#/java type shit)

NO libraries no liberals

Data types


Primitive (like chimpanzee)

  1. i8, i16, i32, i64, u8, u16, u32, u64, f16, f32, f64, v
  2. Modifiers: * (?) pointer. (arg types) function
  3. pragma unsafe -> allow pointer operations


    Custom data types

    structs

  4. var u64 myVar;
  5. var (i64 x, i64 y) myVar; <- struct packing variable ish -> actually creates a struct compilerwise and names it random mangled stuff
  6. fun u64 myFun (u32 arg, u32 arg2);
  7. type uint64_t : u64
  8. type Vector2(i64 x, i64 y);
  9. type Vector3(i64 z) : Vector2;
  10. type Vector(T* data, u64 size);

// TODO in remote future: bitfields

type (pack) (order) (align 4096) IdtEntry(u16 isrLow, u16 kernelCS, u8 res, u8 attributes, u16 isrHigh);

fun (volatile) (inline) (interrupt) u64 the() {}

C like types lib

type char : i8; type uchar : u8; type short : i16; type ushort : u16; type int : i32; type uint : u32; type long : i64; type ulong : u64; type half : f16; type float : f32; type double : f64;

// Alt: type byte : u8; type word : u16; type dword : u32; type qword : u64

// POSIX type int8_t : i8; type uint8_t : u8; type int16_t : i16; type uint16_t : u16; type int32_t : i32; type uint32_t : u32; type int64_t : i64; type uint64_t : u64; type uintptr_t : i8;

// Bool: type bool : u8; const u8 true = 1; const u8 false = 0; // enums to be seen at some point




remind me to fix the thingies here add some br yk