KLL Compiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

simple2.kll 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Name = colemak;
  2. Author = "HaaTa (Jacob Alexander) 2014";
  3. KLL = 0.3;
  4. mydefine = "stuffs here";
  5. mydefine2 = '"stuffs here"'; # For outputting c define strings
  6. mynumber = 414;
  7. mydefine => myCdef;
  8. mydefine2 => myCdef2;
  9. mydefine3 => myCdef3;
  10. mynumber => myCnumber;
  11. usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 );
  12. consCtrlOut => Output_consCtrlSend_capability( consCode : 2 );
  13. noneOut => Output_noneSend_capability();
  14. sysCtrlOut => Output_sysCtrlSend_capability( sysCode : 1 );
  15. myCapability2 => myFunc2();
  16. myCapability3 => myFunc3( myArg1 : 2 );
  17. myCapability => myFunc( myArg1 : 1, myArg2 : 4 );
  18. S0x3 : myCapability2();
  19. S0x4 : myCapability( 0x8, 0x25 );
  20. S0x12 : U[122] + U[123];
  21. S0x6 : 'abcdDfF'; # TODO
  22. S0x40 : U[0x1];
  23. S0x40 : U[0x1-0x4];
  24. S0x0B : U["Esc"];
  25. S0x0B :+ U["Q"];
  26. S[ 0x7 - 0x9 ] : U"6";
  27. S[ 0x7 - 0x9 ], S[0x2,0x3] : U"6";
  28. S[ 0x2 - 0x9, 0x10 ] :+ U"r";
  29. S0x0B :- U["Esc"];
  30. S127 + S128 : U"0";
  31. S0x41 : CONS[0x30];
  32. S0x42 : CONS["Play"];
  33. S0x43 : CONS0x31;
  34. S0x45 : SYS[0xA0];
  35. S0x46 : SYS["UnDock"];
  36. S0x47 : SYS0xA2;
  37. S0x48 : None;