arturo
arturo copied to clipboard
Simple, expressive & portable programming language for efficient scripting
[VM/values/value] General cleanup needed There are various pieces of commented-out code that make the final result pretty much illegible. Let's clean this up. https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/values/value.nim#L9 ```text ###################################################### # TODO(VM/values/value) General cleanup...
[VM/values/printable] Do we even need to have this? This module include a carbon copy of the `$` overloads for Value and SymbolKind values, copied verbatim from VM/values/value. Obviously, the reason...
[VM/values/logic] Add `Nand`, `Nor`, etc helpers Since we already have helper methods for AND, OR, NOT, XOR - why not add the remaining ones, instead of having hack-ish code in...
[VM/values/comparison] Verify all value types are properly handled by all overloads https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/values/comparison.nim#L33 ```text #======================================= # TODO(VM/values/comparison) Verify all value types are properly handled by all overloads # labels: vm, values,...
[VM/stack] Re-consider the starting values for our StackSize & AttrsSize How does it influence the overall performance? This has to be thoroughly tested & benchmarked. https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/stack.nim#L24 ```text #======================================= # TODO(VM/stack)...
[VM/parser] General cleanup needed There are various pieces of commented-out code that make the final result pretty much illegible. Let's clean this up. https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/parse.nim#L9 ```text ###################################################### # TODO(VM/parser) General cleanup...
[VM/package] Needs thorough revision & testing This looks - and is - very draft-ish. First, we have to see whether it's working at all. Then, probably re-write the whole thing...
[VM/lib] Merge constants and builtin's? Do we really - really - need another "constant" type? I doubt it whether it makes any serious performance difference, with the only exception being...
[VM/lib] Rewrite in a cleaner way https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/lib.nim#L91 ```text const cleanExample = replace(strutils.strip(example),"\n ","\n") # TODO(VM/lib) Rewrite in a cleaner way # labels: vm, cleanup when not defined(WEB): let b =...
[VM/lib] Introduce typeset data type? It would be ideal to have a `:typeset` data type which would serve as an umbrella-set for different types, and used mainly in function signatures:...