arturo
arturo copied to clipboard
Simple, expressive & portable programming language for efficient scripting
[Core] General cleanup needed https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Core.nim#L9 ```text ###################################################### # TODO(Core) General cleanup needed # labels: library, enhancement, cleanup #======================================= # Pragmas #======================================= ``` 92c46c0c23b6bbca37bae81d1795b9a6b2982f7f
[Converters] resolving `from`/`to`/`as`/`in` clutter? Right now, we have 4 different built-in function performing different-but-similar actions. Is there any way to remove all ambiguity - by either reducing them, merging them,...
[Converters] Make sure `convertedValueToType` works fine + add tests https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Converters.nim#L66 ```text return res # TODO(Converters) Make sure `convertedValueToType` works fine + add tests # labels: library, cleanup, unit-test proc convertedValueToType*(x,...
[Comparison] add built-in function for "approximately equal" This could serve in cases where we want to compare between weirdly-rounded floating-point numbers and integers, e.g.: 3.0000001 and 3. But: we'll obviously...
[Colors] more potential built-in function candidates? https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Colors.nim#L34 ```text echo "- Importing: Converters" # TODO(Colors) more potential built-in function candidates? # labels: library, enhancement, open discussion builtin "blend", alias = at,...
[collections] Add Ruby's equivalent of `sort_by` https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Collections.nim#L44 ```text echo "- Importing: Collections" # TODO(collections) Add Ruby's equivalent of `sort_by` # labels: library, enhancement builtin "append", alias = doubleplus, rule =...
[Binary] more potential built-in function candidates? I'm thinking that we could probably add functions that allows to either clear or "set" a specific bit. Potentially, this could lead to the...
[Arithmetic] add `powmod` built-in function? https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/library/Arithmetic.nim#L235 ```text else : push(x^y) # TODO(Arithmetic) add `powmod` built-in function? # labels: library, enhancement, open discussion builtin "sub", alias = minus, rule = InfixPrecedence,...
[Helpers/xml] re-implement XML parsing This `parseXMLNode` supposedly "works", but we first have to define what this means: basically, what would an XML-parsing function normally yield? How are children/nodes/attributes supposed to...
[Helpers/url] verify `isUrl` is working right & testing for valid URLs Currently, our `isUrl` works with a RegEx - which looks pretty shady. If there's a better and more standards-compliant...