wu
wu copied to clipboard
🐉 A practical game and data language
As said in the title. iter() doesnt works. ```rust conte := ["undertale", "underale"] for x in iter(conte) { std print(conte) } ``` Returns: ``` wrong: can't seem to find `iter`...
When compiling imports should behave by this system: ``` compile file: all imports are relative to initial file compile directory: all imports are relative to initial directory build project: all...
This is something we need to have. While it does have some downsides in introducing bad practice behavior, it's pretty useful. Given `lib.wu` with the following content: ```fsharp bob :=...
While the current error messages are good, there is a lot of space for improvement. The error message system should be improved, either by hand or by plugging in something...
Enums will be simple. My current idea is to have something like the following: ```fsharp import enemies { Enemy } Weapon: enum { Gun Swordfish Fist } damage_enemy_with: fun(enemy: Enemy,...
Wu should have sum types as well as interface-like type parameters. This will speed up the development process, while also making it even more fun and nice to use the...
Attempting to use `Object` from `love` results in an error ```py # love/types.wu Object: struct {} # love/init.wu import types { Object } # main.wu import love asd : fun()...
Just like lua has its own REPL(read-eval-print-loop), as in example below: bash% lua Lua 5.4.2 Copyright (C) 1994-2020 Lua.org, PUC-Rio > print("hi") hi > function f1(x) >> print("hi") >> end...
lua has a thread type, but wu seems to not have one