arturo
arturo copied to clipboard
Simple, expressive & portable programming language for efficient scripting
[VM/globals] Is there any way to actually avoid them altogether? Having all these global variables is practical, but it actually causes problems when we end up wanting to work with...
[VM/exec] General cleanup needed https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/exec.nim#L9 ```text ###################################################### # TODO(VM/exec) General cleanup needed # labels: vm, execution, enhancement, cleanup #======================================= # Libraries #======================================= ndex 08871193b..18741088d 100644 ++ b/src/vm/globals.nim ``` 0377b3e601977a0d8075050f2f865b68ce8b6eb0
[Eval/dump] Needs some serious cleanup The whole implementation currenly looks like a patchwork of ideas. https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/eval.nim#L646 ```text when not defined(PORTABLE): # TODO(Eval/dump) Needs some serious cleanup # The whole implementation...
[Eval/evalOne] verify Newline handling works properly Also, we have to figure out whether the commented-out code is needed at all https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/eval.nim#L602 ```text of Newline: # TODO(Eval/evalOne) verify Newline handling works...
[VM/errors] General cleanup needed Do we need all these different errors? Could it be done in a more organized function by, at least, using some template? Are there other errors...
[Env] Paths need to be sanitized - on a global level Right now, there is a lot of confusion when it comes to paths, what the current one is and...
[Bytecode] Re-visit bytecode reading & writing Right now, we're using Nim's "marshalling". This looks a bit unnecessary. https://github.com/arturo-lang/arturo/blob/ce734e7a32c73173910cdf8f533f56be21febe3b/src/vm/bytecode.nim#L258 ```text #======================================= # TODO(Bytecode) Re-visit bytecode reading & writing # Right now,...
[System\script] verify it's working properly & potentially re-implement Right now, it picks script-comments from the entire script, but these are not accessible from an included script, nor from the includer....
[System\execute] Fix handling of `.async` It currently "works" but in a very - very - questionable way. This has to be implemented properly. Also: having a globally-available array of "processes"...
[Strings\alphabet] Should we move it to the Sets module? yes, strings are composed by characters which - together - form an alphabet. But what does this function return, if it's...