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.

simple1.kll 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Name = colemak;
  2. Author = "HaaTa (Jacob Alexander) 2014";
  3. KLL = 0.3;
  4. myCapability2 => myFunc2();
  5. myCapability3 => myFunc3( myArg1 : 2 );
  6. myCapability => myFunc( myArg1 : 1, myArg2 : 4 );
  7. usbKeyOut => Output_usbCodeSend_capability( usbCode : 1 );
  8. S0x3 : myCapability2();
  9. S0x4 : myCapability2() + myCapability3(0x5);
  10. S0x5 : myCapability2(), myCapability3(0x6);
  11. S0x7 : myCapability3( 0x8 );
  12. S0x8 : myCapability( 0x2, 0x4 );
  13. S0x6 : 'abcdDfF';
  14. S0x6 : 'abcdDfF', U0xb;
  15. S0x6 : 'abcdDfF', U0xb, U[0x1-0x4,0xa];
  16. S0x40 : U[0x1];
  17. S0x40 : U[0x1,0x2];
  18. S0x40 : U[0x1-0x4];
  19. S0x40 : U[0x1-0x4,0xa];
  20. S0x40 : U[0x1-0x4,0xa] + U0x5;
  21. S0x40 : U[0x1-0x4,0xa] + U[0x5-0x20];
  22. S0x40 : U[0x1-0x4,0xa] + U[0x5-0x20], U33;
  23. S0x40 : U0x01, U2;
  24. S0x40 : U0x01, U2+U3;
  25. S0x40 : U0x01, U2+U"Esc";
  26. S0x0B : U["A"-"5"];
  27. S0x0B : U["Esc"];
  28. S0x46 : U0x01, U2+U["2"-"5"];
  29. S0x40 : U0x01, U2+U["Esc"];
  30. S0x40 : U0x01, U2+U["Esc", "A", "C"-"F"];
  31. S0x40 : U"Backspace";
  32. S0x1+S0x2 : U"2";
  33. S0x3,S0x4 : U"1";
  34. S0x1+S0x2,S0x3,S0x4 : U"3";
  35. S[ 0x5 ] : U"4";
  36. S[ 0x5, 0x6 ] : U"5";
  37. S[ 0x5, 0x6, 0x7, 0x8 ] : U"5";
  38. S[ 0x7 - 0x9 ] : U"6";
  39. S[ 0x2 - 0x9, 0x10 ] : U"r";
  40. S[ 0x2 - 0x9, 0x10 ]+S[0x5 - 0x6, 0x9],S0xA+S0xB : U"r";
  41. S0x42 : U"}";
  42. S0x42 : U"Esc";