- A programming language that runs on Python and embeds Lua!!! It puts a lot of emphasis on built in functions and KEYwords
Latest version:
Keylang is a simple Python-like programming LANGuage that puts emphasis on built in functions and KEYwords. It's quite similar to Python right now but it will evolve over time
It's powered by Python, so you have to have that downloaded haha
v3.0.0!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! PHILOSOPHY IS NOW... GAMES!!! Keylang wasn’t exactly supposed to be a general purpose programming language, and I only really care about games. So yeah Keylang is game oriented now (which means performance must be TOP NOTCH!!!!!!!!!! and stuff)
Changes
- Async functions automatically run. It’s a feature trust
- Keyword alias of EVERY syntax [TO DO]
- (} = end)(== = is)() [TO DO]
- Variants added. Variants of a function accessed with a tilde (~)
- “wait” function has variant “wait~async”. The async version of wait.
- Also has the variant “wait~until”. Waits until a condition is met. [TO DO]
- Default “wait” function changed to uses time.sleep()
- “wait” function has variant “wait~async”. The async version of wait.
- Lua embed changed to use LuaJIT
- Scripts can be moved around now without Lua embedding breaking
- Uses NumPy for number stuff [TO DO]
Additions
- “when” keyword. Listens for WHEN an event occurs. Allows you to state how frequent it checks inside the parentheses
- Also a “when~once” variant. Checks UNTIL the thing happens, then stops checking [TO DO]
- Keyboard input detectors. Use “if key(the_key) {}” to check if the key was pressed, if True, executes the code in the block
- “keyword” keyword. Makes a custom keyword that compiles (?) into the code it was assigned (ex. keyword yay = cube[x] += 1) [TO DO]
- Can also have completely empty keywords (ex. keyword yay) for cosmetic purposes [TO DO]
- “print_python” keyword. Prints the unpreprocessed Python for when you’re confused or when I was confused and there’s a weird Keylang bug that you need to report
- Updated website… again! Somewhat extreme style revamp [TO DO]